Add --no-launch-browser flag to DevTools pub run command (#72519)

This commit is contained in:
Kenzie Schmoll
2020-12-18 10:14:36 -08:00
committed by GitHub
parent 3d06d66b93
commit b793285329
2 changed files with 37 additions and 0 deletions

View File

@@ -71,6 +71,7 @@ class DevtoolsServerLauncher extends DevtoolsLauncher {
'global',
'run',
'devtools',
if (!openInBrowser) '--no-launch-browser',
if (vmServiceUri != null) '--vm-uri=$vmServiceUri',
]);
final Completer<Uri> completer = Completer<Uri>();