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