Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tsc --build mode: "<package> is out of date", when it is up-to-date #25355

Closed
yortus opened this issue Jul 2, 2018 · 0 comments
Closed

tsc --build mode: "<package> is out of date", when it is up-to-date #25355

yortus opened this issue Jul 2, 2018 · 0 comments
Assignees
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@yortus
Copy link
Contributor

yortus commented Jul 2, 2018

TypeScript Version: 3.0.0-dev.20180630

Search Terms:
build mode, out of date, incremental

Steps to Reproduce

Set up @RyanCavanaugh's learn-a sample repo as per his instructions. Run tsc -b packages --verbose to see everything gets built the first time. Now add an empty declaration file at pkg1/src/bar.d.ts. Run tsc -b packages --verbose several more times in succession.

Expected behavior:

Build for pkg1 should be skipped since its output is up-to-date. pkg1/src/bar.d.ts is never going to generate any output.

Actual behavior:

On every build, tsc reports Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/lib/bar.js' does not exist, and re-builds pkg1.

Related Issues:

#3469

@RyanCavanaugh RyanCavanaugh added the Bug A bug in TypeScript label Jul 2, 2018
@RyanCavanaugh RyanCavanaugh self-assigned this Jul 2, 2018
@mhegazy mhegazy added this to the TypeScript 3.0 milestone Jul 2, 2018
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

3 participants