Skip to content

Commit

Permalink
Remove interactive shell check when opening browser on start (faceboo…
Browse files Browse the repository at this point in the history
…k#1264)

Browser launch can still be suppressed using BROWSER=none
  • Loading branch information
CaryLandholt authored and randycoulman committed May 8, 2017
1 parent 6987f1e commit b42c599
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/react-scripts/scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,7 @@ function runDevServer(host, port, protocol) {
console.log(chalk.cyan('Starting the development server...'));
console.log();

if (isInteractive) {
openBrowser(protocol + '://' + host + ':' + port + '/');
}
openBrowser(protocol + '://' + host + ':' + port + '/');
});
}

Expand Down

0 comments on commit b42c599

Please sign in to comment.