summaryrefslogtreecommitdiff
path: root/watcher.py
diff options
context:
space:
mode:
Diffstat (limited to 'watcher.py')
-rw-r--r--watcher.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/watcher.py b/watcher.py
index 353636a..ffb4a42 100644
--- a/watcher.py
+++ b/watcher.py
@@ -126,6 +126,9 @@ class LibraryWatcher(object):
register(self.stop)
+ while True:
+ self.check_for_events()
+
def stop(self):
"""Remove all the watched paths."""
if self.wdd[self.path] > 0: