Skip to content

Commit b42c599

Browse files
CaryLandholtrandycoulman
authored andcommitted
Remove interactive shell check when opening browser on start (facebook#1264)
Browser launch can still be suppressed using BROWSER=none
1 parent 6987f1e commit b42c599

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/react-scripts/scripts/start.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,7 @@ function runDevServer(host, port, protocol) {
290290
console.log(chalk.cyan('Starting the development server...'));
291291
console.log();
292292

293-
if (isInteractive) {
294-
openBrowser(protocol + '://' + host + ':' + port + '/');
295-
}
293+
openBrowser(protocol + '://' + host + ':' + port + '/');
296294
});
297295
}
298296

0 commit comments

Comments
 (0)