Created by: einarlove
When you start the development server it open a tab with your preferred browser with the site your developing. The docs for react-dev-utils/openBrowser
states:
Attempts to open the browser with a given URL. On Mac OS X, attempts to reuse an existing Chrome tab via AppleScript. Otherwise, falls back to opn behavior.
The reuse of tabs in Chrome does not work correctly because of a bug in the applescript which this PR provides a fix for. Additionally it now supports tab reuse even if you've navigated in your app with history API, and brings Chrome to the foreground focused after tab reuse.