From 31bc2ef1ffc4eccc4b9e922413852f5ec68e5fe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 11 Sep 2020 18:12:00 +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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/System/Process/ServerInotify.php b/System/Process/ServerInotify.php index 832fc0f5..e756c1ca 100644 --- a/System/Process/ServerInotify.php +++ b/System/Process/ServerInotify.php @@ -89,12 +89,14 @@ class ServerInotify extends Process $mTime = filectime($value); if (!isset($this->md5Map[$md5])) { if ($isReload) { + $this->isReloading = true; return Timer::after(2000, [$this, 'reload']); } $this->md5Map[$md5] = $mTime; } else { if ($this->md5Map[$md5] != $mTime) { if ($isReload) { + $this->isReloading = true; return Timer::after(2000, [$this, 'reload']); } $this->md5Map[$md5] = $mTime;