diff --git a/kiri-engine/FileListen/FileChangeCustomProcess.php b/kiri-engine/FileListen/FileChangeCustomProcess.php index 1d0cb784..d68f17df 100644 --- a/kiri-engine/FileListen/FileChangeCustomProcess.php +++ b/kiri-engine/FileListen/FileChangeCustomProcess.php @@ -107,9 +107,8 @@ class FileChangeCustomProcess extends Command while (Process::kill($content,0)) { Coroutine::sleep(0.01); } - proc_close($this->source); } - $this->source = proc_open("php " . APP_PATH . "kiri.php", [], $pipes); + proc_open("php " . APP_PATH . "kiri.php", [], $pipes); }