From 2be7134ea6a11348c1d22dc1aafc7dac438748b3 Mon Sep 17 00:00:00 2001 From: xl Date: Mon, 18 Nov 2024 14:34:42 +0800 Subject: [PATCH] eee --- Abstracts/HotReload.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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()) {