High CPU usage (tsserver and typingsInstaller) · Issue #25629 · microsoft/TypeScript (original) (raw)
TypeScript Version: 2.9.2
- VSCode Version: 1.25.0
- OS: Fedora 28
Search Terms:
High cpu, files in excluded folder being watched
Steps to reproduce
Open vscode in an ember-cli project and run ember s
to build and watch for changes. CPU usage of tsserver and typingsInstaller both jump up to 100% and remain there. typingsInstaller remains open even after vs code is closed, until the process is forcefully killed.
jsconfig.json:
{
"compilerOptions": {
"noEmit": true,
"moduleResolution": "node",
"lib": [
"es2018"
],
"target": "es2018",
"baseUrl": ".",
"paths": {
"dugo-web/*": ["app/*"],
"npm:dugo-lib": ["node_modules/dugo-lib"]
}
},
"include": [
"app"
],
"exclude": [
"public",
"tests",
"vendor",
"node_modules",
"tmp",
"dist",
".git"
],
"compileOnSave": false
}
tsserver.log
ti-19009.log
ti-18559.log
ti-18084.log
It's odd to me that although 'tmp' is excluded it is still being watched