diff --git a/Abstracts/HotReload.php b/Abstracts/HotReload.php index b95b343..86e1099 100644 --- a/Abstracts/HotReload.php +++ b/Abstracts/HotReload.php @@ -77,7 +77,11 @@ class HotReload extends AbstractProcess $this->addListen(); Event::add($this->pipe, function () use ($process) { - var_dump(func_get_args()); + $read = inotify_read($this->pipe); + + var_dump($read); + + $this->reload(); }); Event::cycle(function (): void { if ($this->isStop()) {