This commit is contained in:
2021-12-06 13:49:01 +08:00
parent 35189de442
commit 33f045aec7
+1 -1
View File
@@ -158,7 +158,7 @@ class HotReload extends Command
$this->logger->warning('change reload');
$pid = $this->process?->pid;
$process = new Process(function (Process $process) {
$process->exec(PHP_BINARY, [APP_PATH . "kiri.php", "sw:server", "start"]);
$process->exec(PHP_BINARY, [APP_PATH . "kiri.php", "sw:server", "restart"]);
$this->logger->warning('service stop.');
});