You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ever since Storybook changed to use better-opn my default browser doesn't open anymore when I run it, but instead an Ubuntu VM boots up in Parallels to launch Chromium. This is extremely annoying of course as it takes a lot of resources and takes a while to shut down again.
Here's my setup:
I am on macOS Catalina and have Parallels installed.
Inside Parallels, I have a Ubuntu VM:
Inside that Ubuntu VM, I have Chromium installed. This Chromium is registered in macOS as an app shortcut through Parallels:
This is NOT my default browser though. I use regular Chrome, and sometimes others for development, and have Choosy set as my default browser:
I would expect that better-opn will always respect the choice I made in macOS system settings as my browser (i.e. exactly what would be picked if you run open https://github.com on the command line).
But instead it always tries to launch Chromium for some reason, which is inside a VM and not my default browser.
The text was updated successfully, but these errors were encountered:
the purpose of building this utility program is to re-use the same tab if possible and it can only be done with chromium on macOS, hence by default better-opn favours opening the URL in chromium-based browsers.
I suggest setting the BROWSER environment variable globally or on a per-project basis to the browser of your choice if you don't want such behaviour.
Ever since Storybook changed to use
better-opn
my default browser doesn't open anymore when I run it, but instead an Ubuntu VM boots up in Parallels to launch Chromium. This is extremely annoying of course as it takes a lot of resources and takes a while to shut down again.Here's my setup:
I am on macOS Catalina and have Parallels installed.
Inside Parallels, I have a Ubuntu VM:
Inside that Ubuntu VM, I have Chromium installed. This Chromium is registered in macOS as an app shortcut through Parallels:
This is NOT my default browser though. I use regular Chrome, and sometimes others for development, and have Choosy set as my default browser:
I would expect that
better-opn
will always respect the choice I made in macOS system settings as my browser (i.e. exactly what would be picked if you runopen https://github.com
on the command line).But instead it always tries to launch Chromium for some reason, which is inside a VM and not my default browser.
The text was updated successfully, but these errors were encountered: