aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/plugins/command/auto.py
diff options
context:
space:
mode:
Diffstat (limited to 'nikola/plugins/command/auto.py')
-rw-r--r--nikola/plugins/command/auto.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nikola/plugins/command/auto.py b/nikola/plugins/command/auto.py
index d707d53..c46e0a3 100644
--- a/nikola/plugins/command/auto.py
+++ b/nikola/plugins/command/auto.py
@@ -73,11 +73,11 @@ class CommandAuto(Command):
server.watch('conf.py', 'nikola build')
server.watch('themes/', 'nikola build')
server.watch('templates/', 'nikola build')
- server.watch(self.site.config['GALLERY_PATH'])
+ server.watch(self.site.config['GALLERY_PATH'], 'nikola build')
for item in self.site.config['post_pages']:
server.watch(os.path.dirname(item[0]), 'nikola build')
for item in self.site.config['FILES_FOLDERS']:
- server.watch(os.path.dirname(item), 'nikola build')
+ server.watch(item, 'nikola build')
out_folder = self.site.config['OUTPUT_FOLDER']
if options and options.get('browser'):