Skip to content
Permalink
Browse files

Watch entire themes directories

  • Loading branch information
Kwpolska committed Jun 14, 2015
1 parent 81eaedf commit 6b43608fc8a28a8d1f567e66841c5c7b5c9eb002
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/command/auto/__init__.py
@@ -142,7 +142,7 @@ def _execute(self, options, args):
# Do not duplicate entries -- otherwise, multiple rebuilds are triggered
watched = set([
'templates/',
] + [os.path.join(get_theme_path(name), "templates") for name in self.site.THEMES])
] + [get_theme_path(name) for name in self.site.THEMES])
for item in self.site.config['post_pages']:
watched.add(os.path.dirname(item[0]))
for item in self.site.config['FILES_FOLDERS']:

0 comments on commit 6b43608

Please sign in to comment.