From 8db3be5597c69496adf5a0caa8ea9aa01c96e71f Mon Sep 17 00:00:00 2001 From: Daniel Imhoff Date: Tue, 1 Aug 2017 19:32:14 -0500 Subject: [PATCH] fix: make --lab respect --nobrowser fixes https://github.com/ionic-team/ionic-cli/issues/2215 --- src/serve.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serve.ts b/src/serve.ts index 61d39bbe..767a99c7 100644 --- a/src/serve.ts +++ b/src/serve.ts @@ -72,7 +72,7 @@ export function serve(context: BuildContext) { } function onReady(config: ServeConfig, context: BuildContext) { - if (config.launchBrowser || config.launchLab) { + if (config.launchBrowser) { const openOptions: string[] = [config.hostBaseUrl] .concat(launchLab(context) ? [IONIC_LAB_URL] : []) .concat(browserOption(context) ? [browserOption(context)] : [])