We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3dcaaf commit 9c2e3aaCopy full SHA for 9c2e3aa
packages/react-scripts/scripts/start.js
@@ -259,7 +259,7 @@ function run(port) {
259
runDevServer(host, port, protocol);
260
}
261
262
-function getProcessNameOnPort(port) {
+function getProcessForPort(port) {
263
var execOptions = { encoding: 'utf8' };
264
265
try {
@@ -286,7 +286,7 @@ detect(DEFAULT_PORT).then(port => {
286
287
288
clearConsole();
289
- var existingProcess = getProcessNameOnPort(DEFAULT_PORT);
+ var existingProcess = getProcessForPort(DEFAULT_PORT);
290
var question =
291
chalk.yellow('Something is already running on port ' + DEFAULT_PORT + '.' +
292
((existingProcess) ? ' Probably:\n ' + existingProcess : '')) +
0 commit comments