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:
parent
be1467e0cd
commit
c2dfa6a186
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user