Skip to content

Commit

Permalink
Move port process wording in start command on to next line
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian McNally committed Oct 2, 2016
1 parent 626c8d0 commit dc824f5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/react-scripts/scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit dc824f5

Please sign in to comment.