Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
log annd exit like in serve
  • Loading branch information
ralsina committed May 31, 2015
1 parent c166e28 commit e57de69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nikola/plugins/command/auto/__init__.py
Expand Up @@ -195,7 +195,8 @@ def __call__(self, environ, start_response):
try:
ws.serve_forever()
except KeyboardInterrupt:
ws.server_close()
self.logger.info("Server is shutting down.")
exit(130)

def do_rebuild(self, event):
p = subprocess.Popen(self.command_line, shell=True, stderr=subprocess.PIPE)
Expand Down

0 comments on commit e57de69

Please sign in to comment.