mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 09:38:38 +01:00
Don't make extra reloadProjects call when a js/tsconfig files changes
The TypeScript Server should be watching these files already so we do not need to tell it to 'reloadProjects'. In the current case, 'reloadProjects' is causing a TS Server error https://github.com/Microsoft/TypeScript/issues/30005 Fixes #68428
This commit is contained in:
@@ -55,7 +55,6 @@ export default class TypeScriptServiceClientHost extends Disposable {
|
||||
) {
|
||||
super();
|
||||
const handleProjectCreateOrDelete = () => {
|
||||
this.client.executeWithoutWaitingForResponse('reloadProjects', null);
|
||||
this.triggerAllDiagnostics();
|
||||
};
|
||||
const handleProjectChange = () => {
|
||||
|
||||
Reference in New Issue
Block a user