This commit is contained in:
2023-04-19 15:12:57 +08:00
parent 2534cd0d1b
commit 8ca59cc91d
+1 -1
View File
@@ -121,7 +121,7 @@ class HotReload extends Command
private function onInotifyReload(): void private function onInotifyReload(): void
{ {
$init = inotify_init(); $init = inotify_init();
foreach ([APP_PATH . 'app/'] as $dir) { foreach ($this->dirs as $dir) {
if (!is_dir($dir)) { if (!is_dir($dir)) {
continue; continue;
} }