forked from github/pelican
Update __init__.py
Watch static folders using utils.folder_watcher
This commit is contained in:
parent
a987b65bd2
commit
cda21c5481
1 changed files with 1 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ def main():
|
|||
'settings': file_watcher(args.settings)}
|
||||
|
||||
for static_path in settings.get("STATIC_PATHS", []):
|
||||
watchers[static_path] = file_watcher(static_path)
|
||||
watchers[static_path] = folder_watcher(static_path, [''], pelican.ignore_files)
|
||||
|
||||
try:
|
||||
if args.autoreload:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue