diff --git a/kiri-engine/FileListen/FileChangeCustomProcess.php b/kiri-engine/FileListen/FileChangeCustomProcess.php index d146d1cb..afb00199 100644 --- a/kiri-engine/FileListen/FileChangeCustomProcess.php +++ b/kiri-engine/FileListen/FileChangeCustomProcess.php @@ -66,6 +66,7 @@ class FileChangeCustomProcess extends Command } else { $driver = Kiri::getDi()->get(Inotify::class, [$this->dirs, $this]); } + $this->trigger_reload(); Coroutine::create(function () use ($driver) { $driver->start(); });