-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Multiple improvements to watching with --build option #27062
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
Conversation
…pecs from ConfigFileSpecs
Partially fixes #26524
…en project invalidates
…erwise combine tsconfig.json
…ays returns array of resolved config file name
…load of the project or resetting builder context
- no need to maintain map from referencing projects to references - When queueing for downstream projects, always handle build order
…ven if not present
…ting project, do it after build for invalidated project is complete
…laration file doesnt change
/** | ||
* Returns the target config filename of a project reference. | ||
* Note: The file might not exist. | ||
*/ | ||
function resolveProjectReferencePath(host: ResolveProjectReferencePathHost, ref: ProjectReference): ResolvedConfigFileName; | ||
function resolveProjectReferencePath(ref: ProjectReference): ResolvedConfigFileName; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is worth documenting as a breaking change. I'll need to update my use of that function or write my own that works for all TypeScript versions I want to support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RyanCavanaugh May be I can just revert the api change and make it such that first parameter is any so we don't break others
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe you could just add an overload that takes two parameters and discards the first one. This could be marked @deprecated
…ePathAPIChange Revert the API change to resolveProjectReferencePath introduced in #27062
Fixes #26524, #26989