Index: pkg/barback/lib/src/phase_output.dart |
diff --git a/pkg/barback/lib/src/phase_output.dart b/pkg/barback/lib/src/phase_output.dart |
index 50d39c3638d5aa0fe413a2e690cd5ceb65b1562e..58e7368f0f068763fd638326ccb2d52a3215bd53 100644 |
--- a/pkg/barback/lib/src/phase_output.dart |
+++ b/pkg/barback/lib/src/phase_output.dart |
@@ -38,7 +38,7 @@ class PhaseOutput { |
/// A stream that emits an [AssetNode] each time this output starts forwarding |
/// a new asset. |
Stream<AssetNode> get onAsset => _onAssetController.stream; |
- final _onAssetController = new StreamController<AssetNode>(); |
+ final _onAssetController = new StreamController<AssetNode>(sync: true); |
/// The assets for this output. |
/// |