From aec2be27f7b22dae715d75deb02fc8d59397ae03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 19 Apr 2021 14:43:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Process/ServerInotify.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/System/Process/ServerInotify.php b/System/Process/ServerInotify.php index 6ac1fca0..d301d63b 100644 --- a/System/Process/ServerInotify.php +++ b/System/Process/ServerInotify.php @@ -192,9 +192,8 @@ class ServerInotify extends Process $this->trigger_reload(); $this->clearWatch(); - foreach ($this->dirs as $root) { - $this->watch($root); - } + $this->watch(APP_PATH); + $this->int = -1; $this->isReloading = FALSE; $this->isReloadingOut = FALSE;