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 up to date with its dependencies", but it isn't #25337

Closed
yortus opened this issue Jun 30, 2018 · 1 comment
Closed
Assignees
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@yortus
Copy link
Contributor

yortus commented Jun 30, 2018

TypeScript Version: 3.0.0-dev.20180630

Search Terms:
build mode, up to 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 change line 1 in pkg1/src/index.ts to import {} from "./foo"; and save it. Run tsc -b packages --verbose again.

Expected behavior:

pkg2 now fails to build.

Actual behavior:

The compiler reports Project 'packages/pkg2/tsconfig.json' is up to date with .d.ts files from its dependencies, and skips building it, even though we changed pkg1 source in a way that breaks pkg2. If using VSCode, you can see the red squiggle in pkg2/src/index.ts.

Related Issues:

Originally reported in #3469 (comment).

@yortus yortus changed the title tsc --build mode: "\<package> is up to date with its dependencies", but it isn't tsc --build mode: "<package> is up to date with its dependencies", but it isn't Jun 30, 2018
@RyanCavanaugh RyanCavanaugh self-assigned this Jul 2, 2018
@RyanCavanaugh RyanCavanaugh added the Bug A bug in TypeScript label Jul 2, 2018
RyanCavanaugh added a commit to RyanCavanaugh/TypeScript that referenced this issue Jul 2, 2018
@mhegazy mhegazy added this to the TypeScript 3.0 milestone Jul 2, 2018
@RyanCavanaugh RyanCavanaugh added the Fixed A PR has been merged for this issue label Jul 2, 2018
@RyanCavanaugh
Copy link
Member

RyanCavanaugh commented Jul 2, 2018

Thanks @yortus !

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