Skip to content

Conversation

@weswigham
Copy link
Member

Fixes #46333

I put quite a bit of effort into testing this in build/incremental mode in the initial PR (that's why impliedNodeFormat is serialized into the build info file already!) - I naively assumed watch mode would come for free from that. I was incorrect in that assumption. 😢 In any case, the fix is quite small - just setting the impliedNodeFormat SourceFile member on source files made by the watch program. (Which, as a reminder, this field has to be set by the program because you need a full module resolver host to set it, and the program is the first level at which we have one available)

@weswigham weswigham merged commit ac34584 into microsoft:main Oct 14, 2021
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Milestone Bug PRs that fix a bug with a specific milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--watch mode forgets original output target with nodenext

3 participants