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

Project not recompiling when definition files are changed #3

Closed
liangchunn opened this issue Jun 30, 2018 · 0 comments
Closed

Project not recompiling when definition files are changed #3

liangchunn opened this issue Jun 30, 2018 · 0 comments

Comments

@liangchunn
Copy link
Owner

liangchunn commented Jun 30, 2018

When importing external interfaces or types, the compiler will not re-compile even though the definition files have changed.

This causes issues where importing definitions during incremental builds lead to failures. This is because type definition files do not emit any JS files, and webpack will not watch them.

An example repo and steps to reproduce can be found here:
https://github.com/liangchunn/not-recompiling-ts

TypeStrong/ts-loader#697

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant