diff --git a/kiri-engine/FileListen/Inotify.php b/kiri-engine/FileListen/Inotify.php index 39e59061..ccd20151 100644 --- a/kiri-engine/FileListen/Inotify.php +++ b/kiri-engine/FileListen/Inotify.php @@ -85,11 +85,13 @@ class Inotify if (!in_array($ev['mask'], $LISTEN_TYPE)) { continue; } + + + var_dump($ev); + //非重启类型 if (str_ends_with($ev['name'], '.php')) { - var_dump($ev); - Timer::after(3000, fn() => $this->reload($ev['name'])); $this->isReloading = TRUE; }