-
Notifications
You must be signed in to change notification settings - Fork 210
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
--output shouldn't output old optional assets that were not needed by the last build #1033
Labels
package:build_runner
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Milestone
Comments
This was referenced Feb 20, 2018
Re-opening because the serve portion of this hasn't been implemented |
Just hit this w/ |
natebosch
added a commit
that referenced
this issue
May 3, 2018
Closes #1033 Use the `OptionalOutputTracker` in `FinalizedAssetReader` so the asset handler sees these files as if they were not output.
natebosch
added a commit
that referenced
this issue
May 3, 2018
Closes #1033 Use the `OptionalOutputTracker` in `FinalizedAssetReader` so the asset handler sees these files as if they were not output.
natebosch
added a commit
that referenced
this issue
May 4, 2018
Closes #1033 Use the `OptionalOutputTracker` in `FinalizedAssetReader` so the asset handler sees these files as if they were not output. Use unreadableReason from canRead so we're sure they are consistent. Add a reset method to `OptionalOutputTracker` so it can be used across builds.
kevmoo
added a commit
to dart-lang/webdev
that referenced
this issue
May 22, 2018
dart-lang/build#1033 was fixed in build_runner v0.8.9
kevmoo
added a commit
to dart-lang/webdev
that referenced
this issue
May 22, 2018
dart-lang/build#1033 was fixed in build_runner v0.8.9
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
package:build_runner
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Today, if you build with dartdevc, and then do a dart2js build, you actually end up with the dartdevc modules output to the merged directory. Everything still works, but there are a lot of turds in the output as a result.
I think to resolve this we can skip optional assets initially when iterating the graph, but then make sure to include all optional inputs of required outputs.
The text was updated successfully, but these errors were encountered: