This commit is contained in:
xl
2024-11-18 13:42:12 +08:00
parent f858cecf1a
commit b3777a64e3
+2 -1
View File
@@ -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();