This commit is contained in:
xl
2024-11-18 14:31:26 +08:00
parent 7fa1110a50
commit 125dd9e5b2
+1 -4
View File
@@ -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()) {