Cleanup newlines in Commands::Serve

This commit is contained in:
Parker Moore 2013-09-12 14:05:16 -04:00
parent c926596be7
commit 4b8bb68e56
1 changed files with 1 additions and 4 deletions

View File

@ -23,10 +23,7 @@ module Jekyll
Process.detach(pid) Process.detach(pid)
Jekyll.logger.info "Server detatched with pid '#{pid}'.", "Run `kill -9 #{pid}' to stop the server." 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 else # create a new server thread, then join it with current terminal
t = Thread.new { t = Thread.new { s.start }
s.start
}
trap("INT") { s.shutdown } trap("INT") { s.shutdown }
t.join() t.join()
end end