This commit is contained in:
2021-11-19 04:00:31 +08:00
parent 59243a6fed
commit 0f238f488d
+1 -1
View File
@@ -95,7 +95,7 @@ class HotReload extends Command
$this->driver->clear();
$pid = file_get_contents(storage('.swoole.pid'));
if (!empty($pid) && Process::kill($pid, 0)) {
Process::kill($pid, SIGTERM);
var_dump(Process::kill($pid, SIGTERM));
}
var_dump('over');
}