提交 30381dbc 编写于 作者: D Dirk Baeumer

Fixes #539

上级 4aaeb387
......@@ -149,7 +149,9 @@ class TypeScriptServiceClientHost implements ITypescriptServiceClientHost {
this.triggerAllDiagnostics();
};
let handleProjectChange = () => {
this.triggerAllDiagnostics();
setTimeout(() => {
this.triggerAllDiagnostics();
}, 1500);
}
let watcher = workspace.createFileSystemWatcher('**/tsconfig.json');
watcher.onDidCreate(handleProjectCreateOrDelete);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册