From d4d37782b779867c85d4e8f388a93d5af670da9c Mon Sep 17 00:00:00 2001 From: Nicolas Kruk Date: Mon, 25 Nov 2024 09:35:02 -0500 Subject: [PATCH] feat: add open_browser env var for testing (#269) --- src/commands/lightning/dev/site.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/lightning/dev/site.ts b/src/commands/lightning/dev/site.ts index 6fbfe42..bd71e98 100644 --- a/src/commands/lightning/dev/site.ts +++ b/src/commands/lightning/dev/site.ts @@ -83,7 +83,7 @@ export default class LightningDevSite extends SfCommand { const startupParams: LocalDevOptions = { sfCLI: true, authToken, - open: true, + open: process.env.OPEN_BROWSER === 'false' ? false : true, port, logLevel: 'error', mode: 'dev',