eee
This commit is contained in:
@@ -137,9 +137,10 @@ class HotReload extends AbstractProcess
|
|||||||
*/
|
*/
|
||||||
protected function clear(): void
|
protected function clear(): void
|
||||||
{
|
{
|
||||||
foreach ($this->watches as $watch) {
|
fclose($this->pipe);
|
||||||
@inotify_rm_watch($this->pipe, $watch);
|
|
||||||
}
|
$this->pipe = inotify_init();
|
||||||
|
|
||||||
$this->watches = [];
|
$this->watches = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user