eee
This commit is contained in:
@@ -122,6 +122,10 @@ class HotReload extends AbstractProcess
|
|||||||
}
|
}
|
||||||
Event::add($this->inotify, fn () => $this->check());
|
Event::add($this->inotify, fn () => $this->check());
|
||||||
Event::cycle(fn () => function () {
|
Event::cycle(fn () => function () {
|
||||||
|
var_dump($this->isStop());
|
||||||
|
if ($this->isStop()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
Event::dispatch();
|
Event::dispatch();
|
||||||
}, true);
|
}, true);
|
||||||
Event::wait();
|
Event::wait();
|
||||||
@@ -156,6 +160,7 @@ class HotReload extends AbstractProcess
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var_dump($this->isStop());
|
||||||
if ($this->isStop()) {
|
if ($this->isStop()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user