Skip to content

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

Merged
merged 20 commits into from
Sep 14, 2018

Conversation

sheetalkamat
Copy link
Member

Fixes #26524, #26989

…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
…ting project, do it after build for invalidated project is complete
@sheetalkamat sheetalkamat merged commit 47f311a into master Sep 14, 2018
/**
* 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;
Copy link
Contributor

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

Copy link
Member Author

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

Copy link
Contributor

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

@sheetalkamat sheetalkamat deleted the tsbuildWatchImprovements branch September 14, 2018 19:46
sheetalkamat added a commit that referenced this pull request Sep 15, 2018
…ePathAPIChange

Revert the API change to resolveProjectReferencePath introduced in #27062
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.

3 participants