From 784b37bef8d26b8fbea14f04134af443a8a9e404 Mon Sep 17 00:00:00 2001 From: Piotr Maszota Date: Mon, 8 Jan 2024 12:56:11 +0100 Subject: [PATCH 1/2] Do not open devtools by default --- packages/patrol_cli/lib/src/commands/develop.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/patrol_cli/lib/src/commands/develop.dart b/packages/patrol_cli/lib/src/commands/develop.dart index 39d53d1df..f96d29756 100644 --- a/packages/patrol_cli/lib/src/commands/develop.dart +++ b/packages/patrol_cli/lib/src/commands/develop.dart @@ -59,7 +59,6 @@ class DevelopCommand extends PatrolCommand { argParser.addFlag( 'open-devtools', help: 'Automatically open Patrol extension in DevTools when ready.', - defaultsTo: true, ); } From 0baf5ec485876744fbd93cf9aa9e7abfcaad149c Mon Sep 17 00:00:00 2001 From: Piotr Maszota Date: Mon, 8 Jan 2024 12:59:27 +0100 Subject: [PATCH 2/2] Update changelog --- packages/patrol_cli/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/patrol_cli/CHANGELOG.md b/packages/patrol_cli/CHANGELOG.md index 549a2760c..f815ac34c 100644 --- a/packages/patrol_cli/CHANGELOG.md +++ b/packages/patrol_cli/CHANGELOG.md @@ -5,6 +5,8 @@ To do so, pass `test-server-port` (default 8081) and `app-server-port` (default 8082) to Patrol CLI commands (e.g `patrol test`) +- Do not open devtools by default when `patrol develop` is executed (#2048). + This version requires version UNRELEASED of `patrol` package. ## 2.5.0