Skip to content
Permalink
Browse files
log annd exit like in serve
  • Loading branch information
ralsina committed May 31, 2015
1 parent c166e28 commit e57de69afe0c628579eb916c0cc2e3cdcf7f12f2
Showing with 2 additions and 1 deletion.
  1. +2 −1 nikola/plugins/command/auto/__init__.py
@@ -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)

0 comments on commit e57de69

Please sign in to comment.