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 the tab is reused in Chrome on OSX if I restart the dev server, this does not happen in other browsers though. It would be nice if it did, especially in Firefox.
It seems like Chrome comes out on top when comparing AppleScript APIs for different browsers ... Firefox doesn't even expose tab object, which practically makes it impossible to identify the correct tab.
I've looked up Safari as well, and while you can cycle thru tabs, there is no way to bring any of them into active focus. Direct tab reload isn't offered either.
Activity
Timer commentedon Dec 8, 2017
Tagging this as up for contributions.
Thanks for the suggestion!
Powell-v2 commentedon Jan 2, 2018
Hi there, I'd like to tackle this one! As far as I understood, an additional applescript file is required for the Firefox?
Timer commentedon Jan 2, 2018
Yup! Then a modification in the logic here:
https://github.com/facebookincubator/create-react-app/blob/ed5c48c81b2139b4414810e1efe917e04c96ee8d/packages/react-dev-utils/openBrowser.js#L69-L86
Powell-v2 commentedon Jan 2, 2018
It seems like Chrome comes out on top when comparing AppleScript APIs for different browsers ... Firefox doesn't even expose tab object, which practically makes it impossible to identify the correct tab.
I've looked up Safari as well, and while you can cycle thru tabs, there is no way to bring any of them into active focus. Direct tab reload isn't offered either.
Timer commentedon Jan 3, 2018
Welp, that's no good! Thanks for looking into it. 😢