mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
no need to watch user data
This commit is contained in:
@@ -40,7 +40,6 @@ export class UserConfiguration extends Disposable {
|
||||
|
||||
this.parser = new ConfigurationModelParser(this.userSettingsResource.toString(), this.scopes);
|
||||
this.reloadConfigurationScheduler = this._register(new RunOnceScheduler(() => this.reload().then(configurationModel => this._onDidChangeConfiguration.fire(configurationModel)), 50));
|
||||
this._register(this.fileService.watch(this.userSettingsResource));
|
||||
this._register(Event.filter(this.fileService.onFileChanges, e => e.contains(this.userSettingsResource))(() => this.reloadConfigurationScheduler.schedule()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user