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) {