1
0
Fork 0
forked from github/pelican

Watch static folders in Autoreload mode

This commit is contained in:
M. Utku Altinkaya 2013-09-25 04:43:06 +03:00
commit a987b65bd2

View file

@ -320,6 +320,9 @@ def main():
pelican.ignore_files),
'settings': file_watcher(args.settings)}
for static_path in settings.get("STATIC_PATHS", []):
watchers[static_path] = file_watcher(static_path)
try:
if args.autoreload:
print(' --- AutoReload Mode: Monitoring `content`, `theme` and'