From 8023e4d3bfff429f0d5e4e865edf36eb53e1c8c1 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sun, 28 Feb 2021 17:51:19 +0800 Subject: [PATCH] modify --- System/Process/ServerInotify.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/System/Process/ServerInotify.php b/System/Process/ServerInotify.php index 4a514656..80b78693 100644 --- a/System/Process/ServerInotify.php +++ b/System/Process/ServerInotify.php @@ -43,6 +43,9 @@ class ServerInotify extends Process if (extension_loaded('inotify')) { $this->inotify = inotify_init(); $this->events = IN_MODIFY | IN_DELETE | IN_CREATE | IN_MOVE; + + var_dump($this->dirs); + foreach ($this->dirs as $dir) { $this->watch($dir); }