Skip to content
Permalink
Browse files
Fix #2113 -- rebuild when Nikola is modified
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Feb 11, 2016
1 parent 8fd1de0 commit f4b38ae0c8c8d4ae34537b7cb84eaa18bee58d2e
Showing with 3 additions and 1 deletion.
  1. +3 −1 nikola/plugins/command/auto/__init__.py
@@ -61,7 +61,7 @@
FileSystemEventHandler = object
PatternMatchingEventHandler = object


import nikola
from nikola.plugin_categories import Command
from nikola.utils import dns_sd, req_missing, get_logger, get_theme_path, STDERR_HANDLER
LRJS_PATH = os.path.join(os.path.dirname(__file__), 'livereload.js')
@@ -167,6 +167,8 @@ def _execute(self, options, args):
watched.add(item)
for item in self.site.config['LISTINGS_FOLDERS']:
watched.add(item)
# Nikola itself (useful for developers)
watched.add(os.path.dirname(nikola.__file__))

This comment has been minimized.

Copy link
@ralsina

ralsina Feb 11, 2016

Member

Maybe also the locations for the plugins?

This comment has been minimized.

Copy link
@Kwpolska

Kwpolska Feb 11, 2016

Author Member

Fixed in 5a6ad54.

out_folder = self.site.config['OUTPUT_FOLDER']
if options and options.get('browser'):

0 comments on commit f4b38ae

Please sign in to comment.