Skip to content

Commit b68c777

Browse files
andriijasianschmitz
authored andcommitted
Update open (#7910)
1 parent b4fe788 commit b68c777

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-dev-utils/openBrowser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function startBrowserProcess(browser, url, args) {
104104
// Fallback to open
105105
// (It will always open new tab)
106106
try {
107-
var options = { app: browser, wait: false };
107+
var options = { app: browser, wait: false, url: true };
108108
open(url, options).catch(() => {}); // Prevent `unhandledRejection` error.
109109
return true;
110110
} catch (err) {

packages/react-dev-utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"inquirer": "6.5.0",
6868
"is-root": "2.1.0",
6969
"loader-utils": "1.2.3",
70-
"open": "^6.3.0",
70+
"open": "^7.0.0",
7171
"pkg-up": "2.0.0",
7272
"react-error-overlay": "^6.0.3",
7373
"recursive-readdir": "2.2.2",

0 commit comments

Comments
 (0)