monitor flag on flash now respects port

This commit is contained in:
Joel Wetzell
2026-05-15 08:23:44 -05:00
committed by Ron Evans
parent 45e2863e9f
commit fd8e0bd70b
+1 -1
View File
@@ -588,7 +588,7 @@ func Flash(pkgName, port, outpath string, options *compileopts.Options) error {
return fmt.Errorf("unknown flash method: %s", flashMethod)
}
if options.Monitor {
return Monitor(result.Executable, "", config)
return Monitor(result.Executable, port, config)
}
return nil
}