We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 614d527 commit 04f687cCopy full SHA for 04f687c
src/watchdog/observers/fsevents.py
@@ -343,5 +343,6 @@ def schedule(self, event_handler, path, recursive=True):
343
if isinstance(path, str):
344
path = unicodedata.normalize("NFC", path)
345
if not recursive:
346
+ import warnings
347
warnings.warn("FSEvents requires and assumes recursive=True")
348
return BaseObserver.schedule(self, event_handler, path, recursive=True)
0 commit comments