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

Feature request: Entry point should contain information whether it has changed #3084

Closed
esseswann opened this issue Apr 25, 2023 · 2 comments

Comments

@esseswann
Copy link

Currently if code changed in one of the entry points, all of them are being rebuilt or at least all of them are present in outputFiles. For our case it would be convenient to either provide only changed outputFiles or add a flag that describes whether it was changed since the last build

@evanw
Copy link
Owner

evanw commented Aug 6, 2023

I'm thinking that providing the output file content hash (see #3293) would be a better way to do this. Providing only changed output files or providing a flag doesn't necessarily work for what you're trying to do because different builds can have different numbers of output files (i.e. sometimes an output file may be removed) and this information wouldn't be communicated in that case.

@evanw evanw closed this as completed in c6cd557 Aug 6, 2023
@esseswann
Copy link
Author

@evanw thanks, this works

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

2 participants