This commit is contained in:
2021-11-05 01:12:36 +08:00
parent 0cb14bd24b
commit 27d8caec00
@@ -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();
});