diff --git a/nikola/plugins/command/auto/__init__.py b/nikola/plugins/command/auto/__init__.py index a3e0d1bb34..f05dbcf19e 100644 --- a/nikola/plugins/command/auto/__init__.py +++ b/nikola/plugins/command/auto/__init__.py @@ -620,5 +620,5 @@ def __init__(self, configuration_filename, function, loop): def dispatch(self, event): """Handle file events if they concern the configuration file.""" - if event._src_path == self.configuration_filename: + if event.src_path == self.configuration_filename: super().dispatch(event) diff --git a/requirements-extras.txt b/requirements-extras.txt index 1ad129de3d..d8c2259c89 100644 --- a/requirements-extras.txt +++ b/requirements-extras.txt @@ -10,7 +10,7 @@ notebook>=6.0.0 ipykernel>=6.21.2 ghp-import>=1.0.0 aiohttp>=3.8.6 -watchdog>=0.8.3 +watchdog>=2.3.0 ruamel.yaml>=0.15.98 toml>=0.9.2 html5lib>=1.0.1