storybookjs/storybook

[Bug]: Storybook launches in the wrong browser

Aperta

#22.929 aperta il 5 giu 2023

 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (10.058 fork)batch import
bugclihelp wantedsev:S4

Metriche repository

Star
 (89.909 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Describe the bug

On MacOS when my default browser is set to chrome, running start-storybook causes the storybook instance to launch in brave instead of chrome if both browsers are open.

To Reproduce

Open an instance of brave and chrome with chrome as your default browser. Run start-storybook and the storybook tab will be opened in brave instead of chrome.

System

Environment Info:

  System:
    OS: macOS 13.4
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Binaries:
    Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
    Yarn: 3.5.0 - ~/codebase/sf-ui-web/node_modules/.bin/yarn
    npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm
  Browsers:
    Chrome: 114.0.5735.90
    Safari: 16.5

Additional context

No response

Guida contributor