变更
This commit is contained in:
+5
-5
@@ -57,11 +57,11 @@ class HotReload extends Command
|
|||||||
Process::signal(SIGINT, fn() => $this->exit());
|
Process::signal(SIGINT, fn() => $this->exit());
|
||||||
Process::signal(SIGTERM, fn() => $this->exit());
|
Process::signal(SIGTERM, fn() => $this->exit());
|
||||||
sleep(3);
|
sleep(3);
|
||||||
if (extension_loaded('inotify')) {
|
// if (extension_loaded('inotify')) {
|
||||||
$this->onInotifyReload();
|
// $this->onInotifyReload();
|
||||||
} else {
|
// } else {
|
||||||
$this->onCrontabReload();
|
$this->onCrontabReload();
|
||||||
}
|
// }
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user