Change pattern triggering next step. (#12543)

Previously chosen pattern was generated in the output not quite at the end of the hot reload process.
This commit is contained in:
Alexander Aprelev 2017-10-13 21:14:51 -07:00 committed by GitHub
parent be1467e0cd
commit c2dfa6a186

View File

@ -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(