1
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user