From 2534cd0d1b601b1b9efd0a1bb8f74be763211273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 19 Apr 2023 15:12:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HotReload.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/HotReload.php b/HotReload.php index 79cb776..eb568d0 100644 --- a/HotReload.php +++ b/HotReload.php @@ -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; }