From 27d8caec00c14fd1c4145adf6f285c366bb7e800 Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 5 Nov 2021 01:12:36 +0800 Subject: [PATCH] 111 --- kiri-engine/FileListen/FileChangeCustomProcess.php | 1 + 1 file changed, 1 insertion(+) 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(); });