Skip to content

Commit 3b600ee

Browse files
author
jld3103
authored
Hotfix: flutter hot reload (#110)
1 parent 7cfa174 commit 3b600ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func runAndAttach(projectName string, targetOS string) {
116116
text := scanner.Text()
117117
fmt.Println(text)
118118
match := regexObservatory.FindStringSubmatch(text)
119-
if len(match) == 1 {
119+
if len(match) == 2 {
120120
log.Infof("Connecting hover to '%s' for hot reload", projectName)
121121
startHotReloadProcess(cmdFlutterAttach, buildTarget, match[1])
122122
break

0 commit comments

Comments
 (0)