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 84a7894 commit 54ebc86Copy full SHA for 54ebc86
rootfs/watch.py
@@ -17,7 +17,7 @@ def main():
17
wm = pyinotify.WatchManager()
18
mask = pyinotify.IN_CLOSE_WRITE | pyinotify.IN_DELETE
19
notifier = pyinotify.Notifier(wm, EventHandler())
20
- wm.add_watch(path, mask)
+ wm.add_watch(path, mask,rec=True)
21
try:
22
notifier.loop()
23
except KeyboardInterrupt:
0 commit comments