diff --git a/src/vs/platform/files/node/watcher/nodejs/watcherService.ts b/src/vs/platform/files/node/watcher/nodejs/watcherService.ts index d983a1501ca..b645715d160 100644 --- a/src/vs/platform/files/node/watcher/nodejs/watcherService.ts +++ b/src/vs/platform/files/node/watcher/nodejs/watcherService.ts @@ -74,7 +74,9 @@ export class FileWatcher extends Disposable { }, error => this.onError(error))); } } catch (error) { - this.onError(error); + if (error.code !== 'ENOENT') { + this.onError(error); + } } }