From 94c912dc60561c931232caf9cf5442082711227c Mon Sep 17 00:00:00 2001 From: Cary Landholt Date: Tue, 13 Dec 2016 10:13:30 -0600 Subject: [PATCH] Remove interactive shell check when opening browser on start (#1264) Browser launch can still be suppressed using BROWSER=none --- packages/react-scripts/scripts/start.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/react-scripts/scripts/start.js b/packages/react-scripts/scripts/start.js index 3e71e2de886..799774c6714 100644 --- a/packages/react-scripts/scripts/start.js +++ b/packages/react-scripts/scripts/start.js @@ -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 + '/'); }); }