From 4a667a75969c10ff31b77fdf822f5354be5f98ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 26 Jul 2023 17:45:07 +0800 Subject: [PATCH] qqq --- HotReload.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/HotReload.php b/HotReload.php index 8a1e79f..f4b1b42 100644 --- a/HotReload.php +++ b/HotReload.php @@ -28,7 +28,7 @@ class HotReload extends BaseProcess private array $dirs = [APP_PATH . 'app', APP_PATH . 'routes']; - protected mixed $inotify; + protected mixed $inotify = null; /** @@ -50,7 +50,6 @@ class HotReload extends BaseProcess Coroutine::create(fn() => $this->onShutdown(Coroutine::waitSignal(SIGTERM | SIGINT))); } else { pcntl_signal(SIGTERM, [$this, 'onStop']); -// pcntl_signal(SIGINT, [$this, 'onStop']); } return $this; }