File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 6
6
` Stream<WatchEvent> ` . This allows file change notifications to be sent as
7
7
batches of simultaneous changes, preventing over-triggering of builds.
8
8
9
+ ## 0.6.1
10
+
11
+ - Use ` HttpMultiServer ` to better support IPv6 and IPv4 workflows.
12
+
9
13
## 0.6.0
10
14
11
15
- Add retry logic to the state file helpers ` runningVersion ` and
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import 'dart:convert';
7
7
import 'dart:io' ;
8
8
9
9
import 'package:built_value/serializer.dart' ;
10
+ import 'package:http_multi_server/http_multi_server.dart' ;
10
11
import 'package:pool/pool.dart' ;
11
12
import 'package:shelf/shelf_io.dart' ;
12
13
import 'package:shelf_web_socket/shelf_web_socket.dart' ;
@@ -79,7 +80,9 @@ class Server {
79
80
_removeChannel (channel);
80
81
});
81
82
});
82
- _server = await serve (handler, 'localhost' , 0 );
83
+
84
+ _server = await HttpMultiServer .loopback (0 );
85
+ serveRequests (_server, handler);
83
86
return _server.port;
84
87
}
85
88
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ environment:
10
10
dependencies :
11
11
built_collection : ^4.1.0
12
12
built_value : ^6.3.0
13
+ http_multi_server : ^2.0.0
13
14
logging : ^0.11.0
14
15
pedantic : ^1.0.0
15
16
package_resolver : ^1.0.6
You can’t perform that action at this time.
0 commit comments