Chromium Code Reviews| 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. |
|
nweiz
2013/10/31 00:24:41
We should make sure to do this before 1.0 so we do
Bob Nystrom
2013/10/31 01:51:19
I'm not crazy about coupling minification to mode.
nweiz
2013/10/31 18:47:56
The question isn't whether you can disable minific
Bob Nystrom
2013/10/31 20:04:08
OK, I'm fine with removing it, but I think that's
|
| + return barback.createServer("127.0.0.1", 0, graph, BarbackMode.RELEASE, |
| builtInTransformers: [dart2jsTransformer], |
| watchForUpdates: false); |
| }).then((server) { |