Don't save files on JS/TS server start
Fixes #96503 This workaround no longer seems needed
This commit is contained in:
parent
41ca01f942
commit
986a9c8bc9
|
@ -174,12 +174,9 @@ export default class TypeScriptServiceClientHost extends Disposable {
|
||||||
private populateService(): void {
|
private populateService(): void {
|
||||||
this.fileConfigurationManager.reset();
|
this.fileConfigurationManager.reset();
|
||||||
|
|
||||||
// See https://github.com/Microsoft/TypeScript/issues/5530
|
for (const language of this.languagePerId.values()) {
|
||||||
vscode.workspace.saveAll(false).then(() => {
|
language.reInitialize();
|
||||||
for (const language of this.languagePerId.values()) {
|
}
|
||||||
language.reInitialize();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private async diagnosticsReceived(
|
private async diagnosticsReceived(
|
||||||
|
|
Loading…
Reference in a new issue