From b3777a64e391185df76388919d05925d21f2ad80 Mon Sep 17 00:00:00 2001 From: xl Date: Mon, 18 Nov 2024 13:42:12 +0800 Subject: [PATCH] eee --- Abstracts/HotReload.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Abstracts/HotReload.php b/Abstracts/HotReload.php index 1d7150b..af61a27 100644 --- a/Abstracts/HotReload.php +++ b/Abstracts/HotReload.php @@ -76,9 +76,10 @@ class HotReload extends AbstractProcess } while (!$this->isStop()) { $read = inotify_read($this->pipe); + var_dump($read); foreach ($read as $item) { - $this->reWatch($this->watches[$item['wd']]); + $this->reWatch($item['wd']); } $this->reload();