diff --git a/kiri-engine/FileListen/Inotify.php b/kiri-engine/FileListen/Inotify.php index 452c169a..a6056363 100644 --- a/kiri-engine/FileListen/Inotify.php +++ b/kiri-engine/FileListen/Inotify.php @@ -54,6 +54,7 @@ class Inotify if (!is_dir($dir)) continue; $this->watch($dir); } + $this->process->int = -1; Event::add($this->inotify, [$this, 'check']); Event::wait(); }