Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(576)

Unified Diff: lib/devc.dart

Issue 1136293005: fixes #187, implicit html, as well as server messages not printing (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/src/analysis_context.dart » ('j') | lib/src/options.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/devc.dart
diff --git a/lib/devc.dart b/lib/devc.dart
index 147ccf11a8b2e9514f51834d1d94780a33028068..bae2c9b2b107d018564922e8394a138c97493c5a 100644
--- a/lib/devc.dart
+++ b/lib/devc.dart
@@ -305,12 +305,12 @@ class CompilerServer {
.addHandler(shelf_static.createStaticHandler(outDir,
defaultDocument: _entryPath));
await shelf.serve(handler, host, port);
- _log.fine('Serving $_entryPath at http://$host:$port/');
+ print('Serving $_entryPath at http://$host:$port/');
compiler.run();
}
shelf.Handler rebuildAndCache(shelf.Handler handler) => (request) {
- _log.fine('requested $GREEN_COLOR${request.url}$NO_COLOR');
+ print('requested $GREEN_COLOR${request.url}$NO_COLOR');
// Trigger recompile only when requesting the HTML page.
var segments = request.url.pathSegments;
bool isEntryPage = segments.length == 0 || segments[0] == _entryPath;
« no previous file with comments | « no previous file | lib/src/analysis_context.dart » ('j') | lib/src/options.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698