From 0a313e2b9930e7c0593a1c255a49c437b3e5dc99 Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 5 Nov 2021 01:14:47 +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 afb00199..495c2c0c 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();