改名
This commit is contained in:
@@ -158,7 +158,7 @@ class HotReload extends Command
|
|||||||
$this->logger->warning('change reload');
|
$this->logger->warning('change reload');
|
||||||
$pid = $this->process?->pid;
|
$pid = $this->process?->pid;
|
||||||
$process = new Process(function (Process $process) {
|
$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.');
|
$this->logger->warning('service stop.');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user