Print server address when launching a server.

Related to: https://github.com/mojombo/jekyll/issues/1583
This commit is contained in:
Parker Moore 2013-09-28 19:18:36 -04:00
parent 35336bfff4
commit 924285695c
1 changed files with 2 additions and 0 deletions

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)