Skip to content

Commit dc824f5

Browse files
author
Ian McNally
committed
Move port process wording in start command on to next line
1 parent 626c8d0 commit dc824f5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/react-scripts/scripts/start.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,9 @@ detect(DEFAULT_PORT).then(port => {
281281
clearConsole();
282282
var existingProcess = getProcessNameOnPort(DEFAULT_PORT);
283283
var question =
284-
chalk.yellow('Something ' +
285-
((existingProcess) ? '(probably: ' + existingProcess +') ' : '') +
286-
'is already running on port ' + DEFAULT_PORT + '.') +
287-
'\n\nWould you like to run the app on another port instead?';
284+
chalk.yellow('Something is already running on port ' + DEFAULT_PORT + '.' +
285+
((existingProcess) ? ' Probably:\n ' + existingProcess : '')) +
286+
'\n\nWould you like to run the app on another port instead?';
288287

289288
prompt(question, true).then(shouldChangePort => {
290289
if (shouldChangePort) {

0 commit comments

Comments
 (0)