Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
log annd exit like in serve
- Loading branch information
Showing
with
2 additions
and
1 deletion.
-
+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) |
|
|