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
Currently, if browser.OpenURL is invoked multiple times, it will open multiple tabs in the web browser. I'd like to be able to maintain a single invocation, whereby the tab is refreshed if it's already open.
I haven't looked through it yet, but Facebook's create-react-app does this with their dev utils and might be a good resource to lead us in the right direction.
I haven't looked through it yet, but Facebook's create-react-app does this with their dev utils and might be a good resource to lead us in the right direction.
Activity
davecheney commentedon May 27, 2020
Thank you for raising this issue. I don't know how to do what you've asked so I'll mark this issue marked help wanted.
karlhepler commentedon May 27, 2020
Thanks. If I figure it out somehow, I’ll submit a PR. Hopefully someone else can beat me to it! ;-)
karlhepler commentedon May 27, 2020
I haven't looked through it yet, but Facebook's
create-react-appdoes this with their dev utils and might be a good resource to lead us in the right direction.https://github.com/facebook/create-react-app/blob/master/packages/react-dev-utils/openBrowser.js
buzzdan commentedon Apr 1, 2021
i think @karlhepler lead is a good one.
i also came across this issue:
https://bugs.chromium.org/p/chromium/issues/detail?id=141942
and i hope this can be solved by using specific browser commands (this might cover more use cases then just chromium on OSX)
servusdei2018 commentedon May 11, 2024
it appears that Facebook uses
openunder the hood, which itself utilizesxdg-open.