| Index: bin/dwc_browser.dart
|
| diff --git a/bin/dwc_browser.dart b/bin/dwc_browser.dart
|
| index 157a0591fa0f8dbf15c8c6a054712c4caba0c720..879de8971a947f8cbbbc2d99bfe32413c571c9a4 100644
|
| --- a/bin/dwc_browser.dart
|
| +++ b/bin/dwc_browser.dart
|
| @@ -42,7 +42,7 @@ void parse(js.Proxy sourcePagePort, String sourceUri) {
|
| fileSystem = new BrowserFileSystem(uri.scheme, sourcePagePort);
|
| // TODO(jacobr): provide a way to pass in options.
|
| var options = CompilerOptions.parse(['--no-colors', uri.path]);
|
| - messages = new Messages(options: options);
|
| + messages = new Messages(options: options, shouldPrint: false);
|
| asyncTime('Compiled $sourceUri', () {
|
| var compiler = new Compiler(fileSystem, options);
|
| return compiler.run().chain((_) {
|
| @@ -50,6 +50,11 @@ void parse(js.Proxy sourcePagePort, String sourceUri) {
|
| fileSystem.writeString(file.path, file.contents);
|
| }
|
| var ret = fileSystem.flush();
|
| + js.scoped(() {
|
| + js.context.proxyMessages(sourcePagePort,
|
| + js.array(messages.messages.map(
|
| + (m) => [m.level.name, m.toString()])));
|
| + });
|
| js.release(sourcePagePort);
|
| return ret;
|
| });
|
|
|