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 alexdriaguine committed Jan 23, 2017
1 parent 42fb25f commit 51eac12
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 @@ -286,9 +286,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 51eac12

Please sign in to comment.