diff --git a/kiri-engine/FileListen/FileChangeCustomProcess.php b/kiri-engine/FileListen/FileChangeCustomProcess.php index 4c8f97ec..0df31c36 100644 --- a/kiri-engine/FileListen/FileChangeCustomProcess.php +++ b/kiri-engine/FileListen/FileChangeCustomProcess.php @@ -107,9 +107,8 @@ class FileChangeCustomProcess extends Command $content = file_get_contents(storage('.swoole.pid')); if (!empty($content)) { - if (Process::kill((int) $content, 0)) { - Process::kill((int) $content, SIGTERM); - } + var_dump($content); + Process::kill((int)$content, SIGTERM); } proc_open("php " . APP_PATH . "kiri.php", [], $pipes); }