From 0f238f488d1c7271d2bb4a57d900f111ccd91dba Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 19 Nov 2021 04:00:31 +0800 Subject: [PATCH] 1 --- kiri-engine/FileListen/HotReload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiri-engine/FileListen/HotReload.php b/kiri-engine/FileListen/HotReload.php index a9c0548b..4b2a3cee 100644 --- a/kiri-engine/FileListen/HotReload.php +++ b/kiri-engine/FileListen/HotReload.php @@ -85,7 +85,7 @@ class HotReload extends Command return 0; } - + /** * @throws Exception */ @@ -95,7 +95,7 @@ class HotReload extends Command $this->driver->clear(); $pid = file_get_contents(storage('.swoole.pid')); if (!empty($pid) && Process::kill($pid, 0)) { - Process::kill($pid, SIGTERM); + var_dump(Process::kill($pid, SIGTERM)); } var_dump('over'); }