eee
This commit is contained in:
@@ -76,9 +76,10 @@ class HotReload extends AbstractProcess
|
|||||||
}
|
}
|
||||||
while (!$this->isStop()) {
|
while (!$this->isStop()) {
|
||||||
$read = inotify_read($this->pipe);
|
$read = inotify_read($this->pipe);
|
||||||
|
var_dump($read);
|
||||||
|
|
||||||
foreach ($read as $item) {
|
foreach ($read as $item) {
|
||||||
$this->reWatch($this->watches[$item['wd']]);
|
$this->reWatch($item['wd']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->reload();
|
$this->reload();
|
||||||
|
|||||||
Reference in New Issue
Block a user