diff --git a/src/filesystem-manager.js b/src/filesystem-manager.js index 8da8bdab0..3096e237a 100644 --- a/src/filesystem-manager.js +++ b/src/filesystem-manager.js @@ -111,9 +111,9 @@ class NativeWatcher { if (!this.running) { return } + this.running = false await this.watcher.stop() - this.running = false this.emitter.emit('did-stop') }