Merge pull request #1586 from mojombo/print-webrick-url-if-muted

Print server address when launching a server.
This commit is contained in:
Matt Rogers
2013-09-30 20:46:39 -07:00

View File

@@ -18,6 +18,8 @@ module Jekyll
s.mount(options['baseurl'], HTTPServlet::FileHandler, destination, fh_option)
Jekyll.logger.info "Server address:", "http://#{s.config[:BindAddress]}:#{s.config[:Port]}"
if options['detach'] # detach the server
pid = Process.fork { s.start }
Process.detach(pid)