mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
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)}
|
'settings': file_watcher(args.settings)}
|
||||||
|
|
||||||
for static_path in settings.get("STATIC_PATHS", []):
|
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:
|
try:
|
||||||
if args.autoreload:
|
if args.autoreload:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue