summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bin/watch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/watch.c b/bin/watch.c
index ed499652..9b83410f 100644
--- a/bin/watch.c
+++ b/bin/watch.c
@@ -85,6 +85,7 @@ int main(int argc, char *argv[]) {
 
         if (event.fflags & NOTE_DELETE) {
             close(event.ident);
+            sleep(1);
             watch(kq, event.udata);
         }