1
This commit is contained in:
@@ -162,6 +162,7 @@ class HotReload extends Command
|
|||||||
if (!empty($pid) && Process::kill($pid, 0)) {
|
if (!empty($pid) && Process::kill($pid, 0)) {
|
||||||
Process::kill($pid, SIGTERM);
|
Process::kill($pid, SIGTERM);
|
||||||
}
|
}
|
||||||
|
var_dump('d');
|
||||||
Coroutine::create(function () {
|
Coroutine::create(function () {
|
||||||
proc_open('php ' . APP_PATH . ' kiri.php sw:server restart', [], $pipes);
|
proc_open('php ' . APP_PATH . ' kiri.php sw:server restart', [], $pipes);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user