diff --git a/Abstracts/HotReload.php b/Abstracts/HotReload.php index af61a27..f0728cb 100644 --- a/Abstracts/HotReload.php +++ b/Abstracts/HotReload.php @@ -114,6 +114,9 @@ class HotReload extends AbstractProcess if (str_ends_with($directory, '.php') === true) { $wd = inotify_add_watch($this->pipe, $directory, IN_MODIFY | IN_MOVE | IN_CREATE | IN_DELETE); + var_dump($wd); + + $this->watches[$wd] = $directory; } }