diff --git a/packages/react-dev-utils/openBrowser.js b/packages/react-dev-utils/openBrowser.js index 73db076f903..a84326038c7 100644 --- a/packages/react-dev-utils/openBrowser.js +++ b/packages/react-dev-utils/openBrowser.js @@ -123,7 +123,7 @@ function startBrowserProcess(browser, url, args) { // Fallback to open // (It will always open new tab) try { - var options = { app: browser, wait: false }; + var options = { app: browser, wait: false, url: true }; open(url, options).catch(() => {}); // Prevent `unhandledRejection` error. return true; } catch (err) { diff --git a/packages/react-dev-utils/package.json b/packages/react-dev-utils/package.json index 238f22c21fa..3ff95e6adeb 100644 --- a/packages/react-dev-utils/package.json +++ b/packages/react-dev-utils/package.json @@ -69,7 +69,7 @@ "inquirer": "7.0.4", "is-root": "2.1.0", "loader-utils": "1.2.3", - "open": "^6.4.0", + "open": "^7.0.2", "pkg-up": "3.1.0", "react-error-overlay": "^6.0.5", "recursive-readdir": "2.2.2",