We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add a new prune config (true by default) to invalidate caches when any pubspec.lock is modified since the last build.
prune
That would prevent issues with one generated file using another.
If any package, which generates code, is updated, build_runner does not recognize that and will use cached version.
Runner should cache snapshots of pubspec.lock and allow pruning cache directory if dependencies are updated.
The text was updated successfully, but these errors were encountered:
petrnymsa
Successfully merging a pull request may close this issue.
Add a new
prune
config (true by default) to invalidate caches when any pubspec.lock is modified since the last build.That would prevent issues with one generated file using another.
If any package, which generates code, is updated, build_runner does not recognize that and will use cached version.
This can lead to error where updated dependency assumes different generated code etc.
Runner should cache snapshots of pubspec.lock and allow pruning cache directory if dependencies are updated.
The text was updated successfully, but these errors were encountered: