From c2dfa6a186f376b7e60c07a8c762d38e1faaf0f9 Mon Sep 17 00:00:00 2001 From: Alexander Aprelev Date: Fri, 13 Oct 2017 21:14:51 -0700 Subject: [PATCH] Change pattern triggering next step. (#12543) Previously chosen pattern was generated in the output not quite at the end of the hot reload process. --- dev/devicelab/lib/tasks/hot_mode_tests.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/devicelab/lib/tasks/hot_mode_tests.dart b/dev/devicelab/lib/tasks/hot_mode_tests.dart index df339d724c..583dbd9705 100644 --- a/dev/devicelab/lib/tasks/hot_mode_tests.dart +++ b/dev/devicelab/lib/tasks/hot_mode_tests.dart @@ -44,7 +44,7 @@ TaskFunction createHotModeTest({ bool isPreviewDart2: false }) { .transform(UTF8.decoder) .transform(const LineSplitter()) .listen((String line) { - if (line.contains('\] Hot reload performed in')) { + if (line.contains('\] Reloaded ')) { if (hotReloadCount == 0) { // Update the file and reload again. final File appDartSource = file(path.join(