Skip to content

Commit 51eac12

Browse files
CaryLandholtalexdriaguine
authored andcommitted
Remove interactive shell check when opening browser on start (facebook#1264)
Browser launch can still be suppressed using BROWSER=none
1 parent 42fb25f commit 51eac12

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
@@ -286,9 +286,7 @@ function runDevServer(host, port, protocol) {
286286
console.log(chalk.cyan('Starting the development server...'));
287287
console.log();
288288

289-
if (isInteractive) {
290-
openBrowser(protocol + '://' + host + ':' + port + '/');
291-
}
289+
openBrowser(protocol + '://' + host + ':' + port + '/');
292290
});
293291
}
294292

0 commit comments

Comments
 (0)