This commit is contained in:
2023-04-19 15:12:34 +08:00
parent 12b2b0fe48
commit 2534cd0d1b
+5 -5
View File
@@ -57,11 +57,11 @@ class HotReload extends Command
Process::signal(SIGINT, fn() => $this->exit());
Process::signal(SIGTERM, fn() => $this->exit());
sleep(3);
if (extension_loaded('inotify')) {
$this->onInotifyReload();
} else {
$this->onCrontabReload();
}
// if (extension_loaded('inotify')) {
// $this->onInotifyReload();
// } else {
$this->onCrontabReload();
// }
return 1;
}