Skip to content

Avoid compile on save when there is no emit impact #32688

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

Merged
merged 4 commits into from
Aug 7, 2019

Conversation

uniqueiniquity
Copy link
Contributor

Currently, if compile on save is triggered based on changes in a .d.ts file, it runs even though there will be no impact to the emitted JS.
Here, we avoid running compile on save in this scenario as long as there is no possible impact to emitted code. To ensure this, we continue to trigger compile on save if declaration emit is enabled, either through the declaration option or the composite option.

@uniqueiniquity uniqueiniquity merged commit 9971e8b into microsoft:master Aug 7, 2019
@uniqueiniquity uniqueiniquity deleted the skipCOSForDTS branch August 7, 2019 17:44
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

Successfully merging this pull request may close these issues.

2 participants