File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
frontend_server_client/example Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -41,24 +41,24 @@ void main(List<String> args) async {
4141 .transform (utf8.decoder)
4242 .transform (const LineSplitter ())
4343 .listen ((line) {
44- stdout.writeln ('APP -> $line ' );
45- if (line == 'hello/world' ) {
46- sawHelloWorld.complete ();
47- }
48- if (line.startsWith (
49- 'The Dart DevTools debugger and profiler is available at:' ,
50- )) {
51- final observatoryUri =
52- '${line .split (' ' ).last .replaceFirst ('http' , 'ws' )}ws' ;
53- vmServiceCompleter.complete (vmServiceConnectUri (observatoryUri));
54- }
55- });
44+ stdout.writeln ('APP -> $line ' );
45+ if (line == 'hello/world' ) {
46+ sawHelloWorld.complete ();
47+ }
48+ if (line.startsWith (
49+ 'The Dart DevTools debugger and profiler is available at:' ,
50+ )) {
51+ final observatoryUri =
52+ '${line .split (' ' ).last .replaceFirst ('http' , 'ws' )}ws' ;
53+ vmServiceCompleter.complete (vmServiceConnectUri (observatoryUri));
54+ }
55+ });
5656 appProcess.stderr
5757 .transform (utf8.decoder)
5858 .transform (const LineSplitter ())
5959 .listen ((line) {
60- stderr.writeln ('APP -> $line ' );
61- });
60+ stderr.writeln ('APP -> $line ' );
61+ });
6262
6363 final vmService = await vmServiceCompleter.future;
6464 await sawHelloWorld.future;
You can’t perform that action at this time.
0 commit comments