eee
This commit is contained in:
@@ -77,7 +77,11 @@ class HotReload extends AbstractProcess
|
|||||||
$this->addListen();
|
$this->addListen();
|
||||||
|
|
||||||
Event::add($this->pipe, function () use ($process) {
|
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 {
|
Event::cycle(function (): void {
|
||||||
if ($this->isStop()) {
|
if ($this->isStop()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user