eee
This commit is contained in:
+1
-1
@@ -141,8 +141,8 @@ class ServerCommand extends Command
|
|||||||
*/
|
*/
|
||||||
protected function start(InputInterface $input): int
|
protected function start(InputInterface $input): int
|
||||||
{
|
{
|
||||||
$this->eventProvider->on(OnWorkerStart::class, [di(Router::class), 'scan_build_route']);
|
|
||||||
$this->asyncServer->addProcess(config('processes', []));
|
$this->asyncServer->addProcess(config('processes', []));
|
||||||
|
$this->eventProvider->on(OnWorkerStart::class, [di(Router::class), 'scan_build_route']);
|
||||||
if (\config('reload.hot', false) === true) {
|
if (\config('reload.hot', false) === true) {
|
||||||
$this->asyncServer->addProcess([HotReload::class]);
|
$this->asyncServer->addProcess([HotReload::class]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user