This commit is contained in:
2021-12-11 05:33:46 +08:00
parent 8870a7ca27
commit 1670ff3fef
+1 -1
View File
@@ -136,7 +136,7 @@ class HotReload extends Command
$this->initCore(); $this->initCore();
$this->trigger_reload(); $this->trigger_reload();
if ($input->getOption('') == '--daemon') { if ($input->getOption('daemon') == '--daemon') {
Process::daemon(TRUE, TRUE); Process::daemon(TRUE, TRUE);
} }
Timer::tick(1000, fn() => $this->healthCheck()); Timer::tick(1000, fn() => $this->healthCheck());