diff --git a/lib/jekyll/commands/serve.rb b/lib/jekyll/commands/serve.rb index 9cec5457..92a6aa48 100644 --- a/lib/jekyll/commands/serve.rb +++ b/lib/jekyll/commands/serve.rb @@ -23,10 +23,7 @@ module Jekyll Process.detach(pid) Jekyll.logger.info "Server detatched with pid '#{pid}'.", "Run `kill -9 #{pid}' to stop the server." else # create a new server thread, then join it with current terminal - t = Thread.new { - - s.start - } + t = Thread.new { s.start } trap("INT") { s.shutdown } t.join() end