From d09cd983d7735f4c5603d915221baff7f9cf224a Mon Sep 17 00:00:00 2001 From: xl Date: Thu, 6 Jul 2023 17:57:10 +0800 Subject: [PATCH] qqq --- HotReload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HotReload.php b/HotReload.php index afdeba7..7244bc5 100644 --- a/HotReload.php +++ b/HotReload.php @@ -35,7 +35,7 @@ class HotReload extends BaseProcess */ public function getName(): string { - return 'hot.load'; // TODO: Change the autogenerated stub + return '[' . \config('id', 'system-service') . '].hot.load'; // TODO: Change the autogenerated stub } @@ -92,7 +92,7 @@ class HotReload extends BaseProcess if (!is_dir($dir)) { continue; } - $this->watch($init, rtrim($dir,'/')); + $this->watch($init, rtrim($dir, '/')); } Event::add($init, fn() => $this->check($init)); Event::cycle(function () use ($init) {