This commit is contained in:
2021-11-05 01:16:22 +08:00
parent 0a313e2b99
commit ac01000524
@@ -66,7 +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();