1
0
Fork 0
mirror of https://codeberg.org/Reuh/feather.git synced 2025-10-27 10:09:32 +00:00

fix: increase watchfile debounce

This commit is contained in:
Étienne Fildadut 2025-10-13 17:54:09 +02:00
parent 72681be275
commit 95acd6d566

View file

@ -214,7 +214,11 @@ class FeatherApp:
return Path(path).suffix == ".html"
async for changes in awatch(
self.config.html_root, watch_filter=filter_html, step=250, recursive=True
self.config.html_root,
watch_filter=filter_html,
step=250,
debounce=3600000, # so feather regenerate and other don't trigger a bunch of events while running
recursive=True,
):
sync_up_event.set()
sync_down_event.set()