This commit is contained in:
2025-12-18 15:39:40 +08:00
parent 37b59c8536
commit 968cdbd11a
7 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -113,7 +113,7 @@ class HotReload extends AbstractProcess
}
$this->reloading = true;
di(StdoutLogger::class)->println('reloading server[' . \config('id', 'system-service') . '], please waite.');
di(StdoutLogger::class)->println('reloading server[' . \config('site.id', 'system-service') . '], please waite.');
$this->clear();
di(ServerInterface::class)->reload();
@@ -128,7 +128,7 @@ class HotReload extends AbstractProcess
*/
protected function addListen(): void
{
foreach (config('reload.listen') as $value) {
foreach (config('servers.reload.listen') as $value) {
$this->readDirectory($value);
}
}
@@ -168,4 +168,4 @@ class HotReload extends AbstractProcess
}
}
}
}
}