[flutter_tools] reland: Update background isolates when performing hot reload/restart (#52479)

Reland of #52149
This commit is contained in:
Jonah Williams
2020-03-12 12:48:05 -07:00
committed by GitHub
parent 02769001d3
commit d98213c46f
6 changed files with 225 additions and 26 deletions

View File

@@ -74,7 +74,7 @@ void main() {
run.stdin.write('P');
await driver.drive('none');
final Future<String> reloadStartingText =
stdout.stream.firstWhere((String line) => line.endsWith('] Initializing hot reload...'));
stdout.stream.firstWhere((String line) => line.endsWith('] Performing hot reload...'));
final Future<String> reloadEndingText =
stdout.stream.firstWhere((String line) => line.contains('] Reloaded ') && line.endsWith('ms.'));
print('test: pressing "r" to perform a hot reload...');