qqq
This commit is contained in:
+2
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user