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