Skip to content

krisselden/tsserver-config-file-diag-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproduction of tsserver ConfigFileDiagnosticEvent issue

yarn
node test.js

Adding tmp/index.ts triggers configFileDiag event to fire even though this file has nothing to do with the tsconfig.json

{
  "compilerOptions": {
    "module": "es2015",
    "moduleResolution": "node",
    "target": "es2015",
    "rootDir": "src",
    "outDir": "dist"
  },
  "include": [ "src/**/*.ts" ]
}

This in combination with a recent change to VS Code's handling of this event in 1.13.x causes a severe performance regression (tmp is used by our build pipeline) by opening the triggerFile creating an implicit project and diagnostics to be displayed for unrelated files.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published