From 86e4a92ab0c31f7e04dbb33af56915a8595610e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 30 Nov 2021 18:31:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kiri-engine/FileListen/HotReload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiri-engine/FileListen/HotReload.php b/kiri-engine/FileListen/HotReload.php index afaacfc4..701572a6 100644 --- a/kiri-engine/FileListen/HotReload.php +++ b/kiri-engine/FileListen/HotReload.php @@ -98,7 +98,7 @@ class HotReload extends Command public function healthCheck() { $pid = (int)file_get_contents(storage('.swoole.pid')); - $this->logger->debug('timer ticker.' . Process::kill($pid, 0)); + $this->logger->debug('timer ticker.' . $pid . '.' . Process::kill($pid, 0)); if (!empty($pid) && !Process::kill($pid, 0)) { if ($this->process && Process::kill($this->process->pid, 0)) { echo 'service is shutdown you need reload.';