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