storybookjs/storybook

[Bug]: Storybook launches in the wrong browser

Open

#22,929 建立於 2023年6月5日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)TypeScript (89,909 star) (10,058 fork)batch import
bugclihelp wantedsev:S4

描述

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

貢獻者指南

[Bug]: Storybook launches in the wrong browser · storybookjs/storybook#22929 | Good First Issue