forked from github/pelican
Watch static folders in Autoreload mode
This commit is contained in:
parent
2c468f091a
commit
a987b65bd2
1 changed files with 3 additions and 0 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue