From dc824f51464863a75162e51138f8de69eb9eabb5 Mon Sep 17 00:00:00 2001 From: Ian McNally Date: Sun, 2 Oct 2016 17:07:56 -0400 Subject: [PATCH] Move port process wording in start command on to next line --- packages/react-scripts/scripts/start.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/react-scripts/scripts/start.js b/packages/react-scripts/scripts/start.js index ca4db3690e8..8d1c23b59b4 100644 --- a/packages/react-scripts/scripts/start.js +++ b/packages/react-scripts/scripts/start.js @@ -281,10 +281,9 @@ detect(DEFAULT_PORT).then(port => { clearConsole(); var existingProcess = getProcessNameOnPort(DEFAULT_PORT); var question = - chalk.yellow('Something ' + - ((existingProcess) ? '(probably: ' + existingProcess +') ' : '') + - 'is already running on port ' + DEFAULT_PORT + '.') + - '\n\nWould you like to run the app on another port instead?'; + chalk.yellow('Something is already running on port ' + DEFAULT_PORT + '.' + + ((existingProcess) ? ' Probably:\n ' + existingProcess : '')) + + '\n\nWould you like to run the app on another port instead?'; prompt(question, true).then(shouldChangePort => { if (shouldChangePort) {