This commit is contained in:
2021-11-19 03:43:29 +08:00
parent 758bd650b5
commit dbc4cb15dd
+1
View File
@@ -162,6 +162,7 @@ class HotReload extends Command
if (!empty($pid) && Process::kill($pid, 0)) {
Process::kill($pid, SIGTERM);
}
var_dump('d');
Coroutine::create(function () {
proc_open('php ' . APP_PATH . ' kiri.php sw:server restart', [], $pipes);
});