diff --git a/client/djrandom_client/linux_watcher.py b/client/djrandom_client/linux_watcher.py index 4988bbc69f53903289064f1883f434ed7fc2cc8a..83c7603d65564e4c5b733a4094558d6d20dcc6ce 100644 --- a/client/djrandom_client/linux_watcher.py +++ b/client/djrandom_client/linux_watcher.py @@ -5,7 +5,7 @@ class Watcher(object): def __init__(self, base, queue): self.wm = pyinotify.WatchManager() - self.wm.add_watch('/tmp', pyinotify.IN_CLOSE, rec=True) + self.wm.add_watch('/tmp', pyinotify.IN_CLOSE_WRITE, rec=True) self.notifier = pyinotify.ThreadedNotifier(self.wm, self) self.notifier.start()