From 7598bdbd6387694817985b60bb13ba91ed231356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 14 Jan 2022 11:38:28 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=94=B9=E5=90=8D"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fdf58326 --- kiri-engine/FileListen/HotReload.php | 1 + 1 file changed, 1 insertion(+) diff --git a/kiri-engine/FileListen/HotReload.php b/kiri-engine/FileListen/HotReload.php index ba9eaca9..1415b81b 100644 --- a/kiri-engine/FileListen/HotReload.php +++ b/kiri-engine/FileListen/HotReload.php @@ -204,6 +204,7 @@ class HotReload extends Command public function trigger_reload(string $path = '') { $this->logger->warning('change reload'); + var_dump($path); if (!empty($path) && str_starts_with($path, CONTROLLER_PATH)) { $pid = file_get_contents(storage('.swoole.pid')); if (!empty($pid) && Process::kill($pid, 0)) {