microsoft / microsoft/TypeScript
Incremental --build, then delete generated js file, then another incremental --build does not recreate js file
Open
Nobody has claimed this yet.
Awaiting More Feedback
Domain: tsc: --incremental
Suggestion
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
TypeScript Version: 3.4.0-dev.20190326
Search Terms:
incremental
Code
tsconfig.json:
{
"compilerOptions": {
"incremental": true
}
}
x.ts:
console.log("hello");
Expected behavior:
$ tsc --buildx.jshas been generated$ rm x.js$ tsc --build
Expected: x.js has been regenerated
Actual behavior:
x.js still does not exist
Related Issues:
Did not find any.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the stated tsconfig.json, x.ts, and the two tsc --build commands, preferably using the TypeScript version requested in the issue. Trace the incremental build behavior after x.js is deleted; done means the second build recreates x.js.彩票计划
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100