提交 40915fb4 编写于 作者: S Sandeep Somavarapu

no need to watch user data

上级 ee025630
......@@ -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()));
}
......
......@@ -576,7 +576,6 @@ class UserKeybindings extends Disposable {
this._onDidChange.fire();
}
}), 50));
this._register(this.fileService.watch(this.keybindingsResource));
this._register(Event.filter(this.fileService.onFileChanges, e => e.contains(this.keybindingsResource))(() => this.reloadConfigurationScheduler.schedule()));
}
......
......@@ -461,7 +461,6 @@ class UserKeyboardLayout extends Disposable {
}
}), 50));
this._register(this.fileService.watch(this.keyboardLayoutResource));
this._register(Event.filter(this.fileService.onFileChanges, e => e.contains(this.keyboardLayoutResource))(() => this.reloadConfigurationScheduler.schedule()));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册