Skip to content

Commit

Permalink
Add wait: false when opening app in browser (#5821)
Browse files Browse the repository at this point in the history
  • Loading branch information
W1lkins authored and iansu committed Mar 15, 2019
1 parent 6902736 commit 7864ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-dev-utils/openBrowser.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function startBrowserProcess(browser, url) {
// Fallback to opn
// (It will always open new tab)
try {
var options = { app: browser };
var options = { app: browser, wait: false };
opn(url, options).catch(() => {}); // Prevent `unhandledRejection` error.
return true;
} catch (err) {
Expand Down

0 comments on commit 7864ba3

Please sign in to comment.