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:
Matt Bierner
2019-02-20 16:59:35 -08:00
parent 8ea78c62ad
commit 2e4d4a6bb1

View File

@@ -55,7 +55,6 @@ export default class TypeScriptServiceClientHost extends Disposable {
) {
super();
const handleProjectCreateOrDelete = () => {
this.client.executeWithoutWaitingForResponse('reloadProjects', null);
this.triggerAllDiagnostics();
};
const handleProjectChange = () => {