From 06ae804e03c69c246edfa5edef5b65d915e55586 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 25 Apr 2012 01:26:41 +0200 Subject: [PATCH] linux: add IN_MOVE_SELF to inotify event mask Partially fixes joyent/node#3172, behavior is now consistent with inotifywait. --- src/unix/linux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/linux.c b/src/unix/linux.c index 809e644d..a01d14b7 100644 --- a/src/unix/linux.c +++ b/src/unix/linux.c @@ -271,6 +271,7 @@ int uv_fs_event_init(uv_loop_t* loop, | IN_MODIFY | IN_DELETE | IN_DELETE_SELF + | IN_MOVE_SELF | IN_MOVED_FROM | IN_MOVED_TO;