Skip to content

Commit e3dcaaf

Browse files
committed
Change output color to all cyan, except "in"
1 parent e8d0053 commit e3dcaaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-scripts/scripts/start.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ function getProcessNameOnPort(port) {
267267

268268
var processCommandsAndDirectories = processIds.map(function(processId) {
269269
var processCommand = execSync('ps -o command -p ' + processId + ' | sed -n 2p', execOptions);
270-
var processDirectory = execSync('lsof -p '+ processId + ' | grep cwd | awk \'{print " in " $9}\'', execOptions);
271-
return chalk.blue(processCommand) + chalk.cyan(processDirectory);
270+
var processDirectory = execSync('lsof -p '+ processId + ' | grep cwd | awk \'{print $9}\'', execOptions);
271+
return chalk.cyan(processCommand) + chalk.blue(' in ') + chalk.cyan(processDirectory);
272272
});
273273

274274
return processCommandsAndDirectories.join('\n ');

0 commit comments

Comments
 (0)