Skip to content

Commit

Permalink
Watch entire themes directories
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwpolska committed Jun 14, 2015
1 parent 81eaedf commit 6b43608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/command/auto/__init__.py
Expand Up @@ -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']:
Expand Down

0 comments on commit 6b43608

Please sign in to comment.