I'm running Eclipse 2026-03, and trying to make TS work.
I have a Dynamic Web Project, and in the WebContent folder I've added the following files:
tsconfig.json:
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"sourceMap": true
}
}
test.ts:
The TS builder has been configured like so:
Location = ${system_path:tsc.cmd}
Working Directory = ${workspace_loc:/MyProject/WebContent}
Arguments = --project ${workspace_loc:/MyProject/WebContent/tsconfig.json}
Build Options = Allocate Console + Launch in background + After a clean + During manual builds + During auto builds + Specify working set=MyProject/WebContent
The file is correctly built, test.js and test.js.map are being produced, but tsc.cmd keeps getting invoked. It looks like there is some loop going on where the 2 output files are being treated as a project modification, which triggers the builder again, producing fresh output files etc.
I'm running Eclipse 2026-03, and trying to make TS work.
I have a Dynamic Web Project, and in the WebContent folder I've added the following files:
tsconfig.json:
test.ts:
The TS builder has been configured like so:
Location = ${system_path:tsc.cmd}
Working Directory = ${workspace_loc:/MyProject/WebContent}
Arguments = --project ${workspace_loc:/MyProject/WebContent/tsconfig.json}
Build Options = Allocate Console + Launch in background + After a clean + During manual builds + During auto builds + Specify working set=MyProject/WebContent
The file is correctly built, test.js and test.js.map are being produced, but tsc.cmd keeps getting invoked. It looks like there is some loop going on where the 2 output files are being treated as a project modification, which triggers the builder again, producing fresh output files etc.