This commit is contained in:
2022-01-10 02:10:37 +08:00
parent f7ca56a9b0
commit 1fa651c587
+1 -4
View File
@@ -224,10 +224,7 @@ class HotReload extends Command
$this->stopManager();
$this->process = new Process(function (Process $process) {
scan_directory(directory('app'), 'App');
$manager = Kiri::app()->getServer();
$manager->runtime_start();
// $process->exec(PHP_BINARY, [APP_PATH . "kiri.php", "sw:server", "start"]);
$process->exec(PHP_BINARY, [APP_PATH . "kiri.php", "sw:server", "start"]);
});
$this->process->start();