Index: sdk/lib/_internal/pub/lib/src/barback/web_socket_api.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/barback/web_socket_api.dart b/sdk/lib/_internal/pub/lib/src/barback/web_socket_api.dart |
index ff59dec41da26a232cc917dcd658fc153a8e0ca8..eeb804f98f6947641fb86e6c20dbf9f36db893b3 100644 |
--- a/sdk/lib/_internal/pub/lib/src/barback/web_socket_api.dart |
+++ b/sdk/lib/_internal/pub/lib/src/barback/web_socket_api.dart |
@@ -12,6 +12,7 @@ import 'package:barback/barback.dart'; |
import 'package:path/path.dart' as path; |
import 'package:stack_trace/stack_trace.dart'; |
+import '../log.dart' as log; |
import '../utils.dart'; |
import 'build_environment.dart'; |
@@ -74,6 +75,8 @@ class WebSocketApi { |
/// complete to `null`. |
Future listen() { |
return _socket.listen((data) { |
+ log.io("Web Socket command: $data"); |
+ |
var command; |
return syncFuture(() { |
try { |
@@ -316,7 +319,6 @@ class WebSocketApi { |
}); |
} |
- |
/// Given a relative directory path within the entrypoint package, unbinds |
/// the server previously bound to that directory and returns its (now |
/// unreachable) URL. |