From 252c683142db648f626f50c6a54128f317d6f9a2 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Thu, 3 Jan 2013 23:54:25 +0000 Subject: [PATCH] (2.7x, daemon) backport r13726 for #4523 --- daemon/watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/watch.c b/daemon/watch.c index 8976fca57..da5e95e84 100644 --- a/daemon/watch.c +++ b/daemon/watch.c @@ -55,7 +55,7 @@ struct dtr_watchdir /* reasonable guess as to size of 50 events */ #define BUF_LEN (EVENT_BATCH_COUNT * (EVENT_SIZE + 16) + 2048) -#define DTR_INOTIFY_MASK (IN_CLOSE_WRITE|IN_MOVED_TO|IN_ONLYDIR) +#define DTR_INOTIFY_MASK (IN_CLOSE_WRITE|IN_MOVED_TO|IN_CREATE|IN_ONLYDIR) static void watchdir_new_impl (dtr_watchdir * w) -- 2.49.0