From 8ca59cc91d9ab2a07de1b0717bf68701718dd153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 19 Apr 2023 15:12:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HotReload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HotReload.php b/HotReload.php index eb568d0..bafa56c 100644 --- a/HotReload.php +++ b/HotReload.php @@ -121,7 +121,7 @@ class HotReload extends Command private function onInotifyReload(): void { $init = inotify_init(); - foreach ([APP_PATH . 'app/'] as $dir) { + foreach ($this->dirs as $dir) { if (!is_dir($dir)) { continue; }