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();