From 8525f499ab1afef4242b7a0c43cdfdc995d9f9f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 17 Nov 2020 17:10:27 +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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/System/Process/ServerInotify.php b/System/Process/ServerInotify.php index 6e0d4cfe..26e0e932 100644 --- a/System/Process/ServerInotify.php +++ b/System/Process/ServerInotify.php @@ -64,12 +64,12 @@ class ServerInotify extends Process */ public function tick() { - $this->loadByDir(APP_PATH . 'app', true); - $this->loadByDir(APP_PATH . 'routes', true); - $this->loadByDir(__DIR__ . '/../../', true); if ($this->isReloading) { return; } + $this->loadByDir(APP_PATH . 'app', true); + $this->loadByDir(APP_PATH . 'routes', true); + $this->loadByDir(__DIR__ . '/../../', true); Timer::after(2000, [$this, 'tick']); }