Skip to content

Commit 501987f

Browse files
authored
feat(component): add open browser option based on environment variable (#436)
1 parent ba96fcc commit 501987f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/commands/lightning/dev/component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export default class LightningDevComponent extends SfCommand<void> {
104104
port,
105105
name: name ? `c/${name}` : undefined,
106106
namespacePaths,
107+
open: process.env.OPEN_BROWSER === 'false' ? false : true,
107108
});
108109
}
109110
}

0 commit comments

Comments
 (0)