diff --git a/Abstracts/HotReload.php b/Abstracts/HotReload.php index 1e7747e..532fad6 100644 --- a/Abstracts/HotReload.php +++ b/Abstracts/HotReload.php @@ -85,6 +85,9 @@ class HotReload extends AbstractProcess */ public function reload(): void { + if ($this->reloading) { + return; + } $this->reloading = true; \Kiri::getLogger()->info('reloading server, please waite.');