Chromium Code Reviews| Index: sdk/lib/_internal/pub/lib/src/barback.dart |
| diff --git a/sdk/lib/_internal/pub/lib/src/barback.dart b/sdk/lib/_internal/pub/lib/src/barback.dart |
| index 84a069a3f28086e285a145dbb5a8691f8437c6fe..9d20198e747d3794854c0f8831a4091c3b12f4d8 100644 |
| --- a/sdk/lib/_internal/pub/lib/src/barback.dart |
| +++ b/sdk/lib/_internal/pub/lib/src/barback.dart |
| @@ -108,6 +108,7 @@ class TransformerId { |
| /// monitor the app and its dependencies for any updates. Otherwise the state of |
| /// the app when the server is started will be maintained. |
| Future<BarbackServer> createServer(String host, int port, PackageGraph graph, |
| + BarbackMode mode, |
|
nweiz
2013/10/31 00:24:41
Formatting nit: normally when formatting parameter
Bob Nystrom
2013/10/31 01:51:19
Done. I think. I'm not really sure what the best s
|
| {Iterable<Transformer> builtInTransformers, bool watchForUpdates: true}) { |
| var provider = new PubPackageProvider(graph); |
| var barback = new Barback(provider); |
| @@ -140,7 +141,7 @@ Future<BarbackServer> createServer(String host, int port, PackageGraph graph, |
| }) |
| ]; |
| - loadAllTransformers(server, graph, builtInTransformers).then((_) { |
| + loadAllTransformers(server, graph, mode, builtInTransformers).then((_) { |
| if (!completer.isCompleted) completer.complete(server); |
| }).catchError((error, stackTrace) { |
| if (!completer.isCompleted) completer.completeError(error, stackTrace); |