From 125dd9e5b250a907a80af74dd38b06525770de25 Mon Sep 17 00:00:00 2001 From: xl Date: Mon, 18 Nov 2024 14:31:26 +0800 Subject: [PATCH] eee --- Abstracts/HotReload.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Abstracts/HotReload.php b/Abstracts/HotReload.php index 278d296..b95b343 100644 --- a/Abstracts/HotReload.php +++ b/Abstracts/HotReload.php @@ -77,10 +77,7 @@ class HotReload extends AbstractProcess $this->addListen(); Event::add($this->pipe, function () use ($process) { - $read = inotify_read($this->pipe); - if (!empty($read)) { - $this->reload(); - } + var_dump(func_get_args()); }); Event::cycle(function (): void { if ($this->isStop()) {