Skip to content

Commit 54ebc86

Browse files
committed
Update watch.py
1 parent 84a7894 commit 54ebc86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rootfs/watch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def main():
1717
wm = pyinotify.WatchManager()
1818
mask = pyinotify.IN_CLOSE_WRITE | pyinotify.IN_DELETE
1919
notifier = pyinotify.Notifier(wm, EventHandler())
20-
wm.add_watch(path, mask)
20+
wm.add_watch(path, mask,rec=True)
2121
try:
2222
notifier.loop()
2323
except KeyboardInterrupt:

0 commit comments

Comments
 (0)