diff --git a/kiri-engine/FileListen/Inotify.php b/kiri-engine/FileListen/Inotify.php index 540650f4..39e59061 100644 --- a/kiri-engine/FileListen/Inotify.php +++ b/kiri-engine/FileListen/Inotify.php @@ -87,6 +87,9 @@ class Inotify } //非重启类型 if (str_ends_with($ev['name'], '.php')) { + + var_dump($ev); + Timer::after(3000, fn() => $this->reload($ev['name'])); $this->isReloading = TRUE; }