1
This commit is contained in:
@@ -78,7 +78,7 @@ class HotReload extends Command
|
|||||||
$this->trigger_reload();
|
$this->trigger_reload();
|
||||||
Process::signal(SIGKILL, [$this, 'onSignal']);
|
Process::signal(SIGKILL, [$this, 'onSignal']);
|
||||||
Process::signal(SIGTERM, [$this, 'onSignal']);
|
Process::signal(SIGTERM, [$this, 'onSignal']);
|
||||||
Coroutine\run(function (){
|
Coroutine::create(function () {
|
||||||
$this->driver->start();
|
$this->driver->start();
|
||||||
});
|
});
|
||||||
return 0;
|
return 0;
|
||||||
@@ -150,7 +150,6 @@ class HotReload extends Command
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 重启
|
* 重启
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user