storybookjs/storybook

[Bug]: Storybook launches in the wrong browser

開放

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

 (0 則留言) (0 個反應) (0 位負責人)TypeScript (10,058 個分叉)batch import
bugclihelp wantedsev:S4

倉庫指標

星標
 (89,909 顆星)
PR 合併指標
 (平均合併 7天 22小時) (30 天內合併 184 個 PR)

描述

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

貢獻者指南