mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-07 08:34:15 +01:00
feat: updates
This commit is contained in:
parent
6ff12f93cb
commit
9059847d86
@ -494,8 +494,11 @@ class Watcher {
|
||||
}
|
||||
|
||||
resetWatcher() {
|
||||
_.each(this.watchers, w => w?.close?.());
|
||||
this.watchers = {};
|
||||
try {
|
||||
_.each(this.watchers, w => w?.close?.());
|
||||
this.watchers = {};
|
||||
}
|
||||
catch(error) {}
|
||||
}
|
||||
|
||||
removeWatcher(watchPath, win) {
|
||||
|
Loading…
Reference in New Issue
Block a user