This commit is contained in:
2021-11-19 03:42:23 +08:00
parent cac794ca20
commit ba804c4d9c
+3 -1
View File
@@ -78,7 +78,9 @@ class HotReload extends Command
$this->trigger_reload();
Process::signal(SIGKILL, [$this, 'onSignal']);
Process::signal(SIGTERM, [$this, 'onSignal']);
$this->driver->start();
Coroutine\run(function (){
$this->driver->start();
});
return 0;
}