From 23eb31a5ec224c1a186aab8ca101db422fa489e4 Mon Sep 17 00:00:00 2001 From: CaryLandholt Date: Tue, 13 Dec 2016 09:38:33 -0600 Subject: [PATCH] Remove interactive shell check when opening browser on start 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 + '/'); }); }