Unverified Commit b2da79ce authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

roll build runner and remove delay (#39988)

parent 83da35fb
...@@ -7,7 +7,7 @@ dependencies: ...@@ -7,7 +7,7 @@ dependencies:
sdk: flutter sdk: flutter
flutter_driver: flutter_driver:
sdk: flutter sdk: flutter
path_provider: 1.2.2 path_provider: 1.3.0
collection: 1.14.11 collection: 1.14.11
assets_for_android_views: assets_for_android_views:
git: git:
...@@ -81,4 +81,4 @@ dev_dependencies: ...@@ -81,4 +81,4 @@ dev_dependencies:
flutter: flutter:
uses-material-design: true uses-material-design: true
# PUBSPEC CHECKSUM: 1658 # PUBSPEC CHECKSUM: 4b57
...@@ -129,12 +129,6 @@ class WebFs { ...@@ -129,12 +129,6 @@ class WebFs {
/// Recompile the web application and return whether this was successful. /// Recompile the web application and return whether this was successful.
Future<bool> recompile() async { Future<bool> recompile() async {
// TODO(jonahwilliams): build_daemon is still watching for sources, which means we can
// easily miss changes when hot restart is triggered by IDEs. Until we fix this, add a
// delay to allow filesystem watches to gather all required source files. This duration
// was chosen arbitrarily.
// See https://github.com/flutter/flutter/issues/39696
await Future<void>.delayed(const Duration(milliseconds: 150));
_client.startBuild(); _client.startBuild();
await for (BuildResults results in _client.buildResults) { await for (BuildResults results in _client.buildResults) {
final BuildResult result = results.results.firstWhere((BuildResult result) { final BuildResult result = results.results.firstWhere((BuildResult result) {
......
...@@ -47,7 +47,7 @@ dependencies: ...@@ -47,7 +47,7 @@ dependencies:
test_core: 0.2.5 test_core: 0.2.5
# Code generation dependencies # Code generation dependencies
build_runner_core: 3.0.9 build_runner_core: 3.1.0
dart_style: 1.2.9 dart_style: 1.2.9
code_builder: 3.2.0 code_builder: 3.2.0
build: 1.1.6 build: 1.1.6
...@@ -124,7 +124,7 @@ dev_dependencies: ...@@ -124,7 +124,7 @@ dev_dependencies:
mockito: 4.1.1 mockito: 4.1.1
file_testing: 2.1.0 file_testing: 2.1.0
test: 1.6.3 test: 1.6.3
build_runner: 1.6.7 build_runner: 1.6.8
build_vm_compilers: 1.0.3 build_vm_compilers: 1.0.3
build_test: 0.10.8 build_test: 0.10.8
...@@ -136,4 +136,4 @@ dartdoc: ...@@ -136,4 +136,4 @@ dartdoc:
# Exclude this package from the hosted API docs. # Exclude this package from the hosted API docs.
nodoc: true nodoc: true
# PUBSPEC CHECKSUM: 9ea0 # PUBSPEC CHECKSUM: 1699
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment