Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quasar.conf fallback for open in browser #3627

Closed
mesqueeb opened this Issue Mar 20, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@mesqueeb
Copy link
Contributor

mesqueeb commented Mar 20, 2019

If I'm using:

devServer: {
  open: 'Safari'
},

But my colleague doesn't have eg. Safari, it will error and he won't be able to start the dev server.

I would love support for this syntax:

devServer: {
  open: ['Safari', 'Google Chrome']
},

that makes it so it will open automatically in Safari for me, but fall back to Google Chrome when that browser is not available.

@rstoenescu

This comment has been minimized.

Copy link
Member

rstoenescu commented Mar 20, 2019

You can request it here: https://github.com/sindresorhus/opn
Thanks.

@rstoenescu rstoenescu closed this Mar 20, 2019

@mesqueeb

This comment has been minimized.

Copy link
Contributor Author

mesqueeb commented Mar 23, 2019

Hi @rstoenescu
I saw in the latest update: feat: Failsafe when trying to open browser

Is this related to this thread?

@rstoenescu

This comment has been minimized.

Copy link
Member

rstoenescu commented Mar 26, 2019

@mesqueeb No. It's related to something else -- it won't break the CLI when opn fails now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.