Index: sdk/lib/_internal/pub/lib/src/command/build.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/command/build.dart b/sdk/lib/_internal/pub/lib/src/command/build.dart |
index 93dee744ff5a0bf495623f626a3c640df9a94a0e..12dccf072c4d18ed0a85413d12f3ad74338a91e6 100644 |
--- a/sdk/lib/_internal/pub/lib/src/command/build.dart |
+++ b/sdk/lib/_internal/pub/lib/src/command/build.dart |
@@ -58,7 +58,8 @@ class BuildCommand extends PubCommand { |
// Since this server will only be hit by the transformer loader and isn't |
// user-facing, just use an IPv4 address to avoid a weird bug on the |
// OS X buildbots. |
- return barback.createServer("127.0.0.1", 0, graph, |
+ // TODO(rnystrom): Allow specifying mode. |
+ return barback.createServer("127.0.0.1", 0, graph, BarbackMode.RELEASE, |
builtInTransformers: [dart2jsTransformer], |
watchForUpdates: false); |
}).then((server) { |