fix(file-watcher): enable force polling for file watcher
Some checks failed
Pre-commit / run (ubuntu-latest) (push) Has been cancelled

- Set force_polling=True in awatch to improve file detection reliability
- Bump version from 0.3.1.8 to 0.3.1.9
This commit is contained in:
jinli.yl 2026-05-14 14:40:07 +08:00
parent ccadf1d3f9
commit 20b37414cb
2 changed files with 2 additions and 1 deletions

View file

@ -6,7 +6,7 @@ from . import extension
from . import memory
from .reme import ReMe
__version__ = "0.3.1.8"
__version__ = "0.3.1.9"
__all__ = [
"config",

View file

@ -185,6 +185,7 @@ class BaseFileWatcher:
logger.info(f"Starting watch on valid paths: {valid_paths}")
async for changes in awatch(
*valid_paths,
force_polling=True,
watch_filter=self.watch_filter,
recursive=self.recursive,
debounce=self.debounce,