Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Surpress wincing when auto is aborted during rebuilding
  • Loading branch information
da2x committed Jul 5, 2015
1 parent d498e68 commit f23353b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.txt
Expand Up @@ -9,6 +9,7 @@ Features
Bugfixes
--------

* Surpress wincing when auto is aborted during rebuilding
* Show tags only from the current language on tag listing pages (Issue #1856)
* Remove gap between line numbers and code (Issue #1859)
* Fix spurious warnings about posts published in the future (Issue #1850)
Expand Down
5 changes: 4 additions & 1 deletion nikola/plugins/command/auto/__init__.py
Expand Up @@ -181,7 +181,10 @@ def _execute(self, options, args):
_conf_dn = os.path.dirname(_conf_fn)
observer.schedule(ConfigWatchHandler(_conf_fn, self.do_rebuild), _conf_dn, recursive=False)

observer.start()
try:
observer.start()
except KeyboardInterrupt:
pass

This comment has been minimized.

Copy link
@Kwpolska

Kwpolska Jul 5, 2015

Member

Why not return 130?


parent = self

Expand Down

0 comments on commit f23353b

Please sign in to comment.