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 {
41
41
.transform (utf8.decoder)
42
42
.transform (const LineSplitter ())
43
43
.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
+ });
56
56
appProcess.stderr
57
57
.transform (utf8.decoder)
58
58
.transform (const LineSplitter ())
59
59
.listen ((line) {
60
- stderr.writeln ('APP -> $line ' );
61
- });
60
+ stderr.writeln ('APP -> $line ' );
61
+ });
62
62
63
63
final vmService = await vmServiceCompleter.future;
64
64
await sawHelloWorld.future;
You can’t perform that action at this time.
0 commit comments