Skip to content

Commit

Permalink
Remove interactive shell check when opening browser on start (#1264)
Browse files Browse the repository at this point in the history
Browser launch can still be suppressed using BROWSER=none
  • Loading branch information
CaryLandholt authored and gaearon committed Dec 13, 2016
1 parent 7a8edf0 commit 94c912d
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 94c912d

Please sign in to comment.