Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit 8db3be5

Browse files
committed
fix: make --lab respect --nobrowser
fixes ionic-team/ionic-cli#2215
1 parent 1c8d89d commit 8db3be5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serve.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export function serve(context: BuildContext) {
7272
}
7373

7474
function onReady(config: ServeConfig, context: BuildContext) {
75-
if (config.launchBrowser || config.launchLab) {
75+
if (config.launchBrowser) {
7676
const openOptions: string[] = [config.hostBaseUrl]
7777
.concat(launchLab(context) ? [IONIC_LAB_URL] : [])
7878
.concat(browserOption(context) ? [browserOption(context)] : [])

0 commit comments

Comments
 (0)