Skip to content

TS builder running non-stop #2157

Description

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:

export const foo = 42;

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions