Open taki-eddine-47 opened 1 year ago
I'm also getting this issue with any of my angular projects.
I've worked out it's tsconfig.**.json
files that are doing it so pulled just those files out of a brand new Angular V12 project into an empty folder then opening VSCode in that folder will show it.
It seems that ether on their own cause it and both together (as they would be in an angular project) also show both sets of build & watch.
Attached is the content of the two files. Just copy the content into the named files and put them into an empty folder to reproduce issue. :)
tsconfig.app.json
:
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./out-tsc/app",
"types": []
},
"files": [
"src/main.ts",
"src/polyfills.ts"
],
"include": [
"src/**/*.d.ts"
]
}
tsconfig.spec.json
:
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./out-tsc/spec",
"types": [
"jasmine"
]
},
"files": [
"src/test.ts",
"src/polyfills.ts"
],
"include": [
"src/**/*.spec.ts",
"src/**/*.d.ts"
]
}
v3 if due out soon and fixes this, we'll keep this open until then just to verify
Disabled:
Enabled: