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

Commit

Permalink
fix: make --lab respect --nobrowser
Browse files Browse the repository at this point in the history
  • Loading branch information
imhoffd committed Aug 2, 2017
1 parent 1c8d89d commit 8db3be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)] : [])
Expand Down

0 comments on commit 8db3be5

Please sign in to comment.