Skip to content

Commit

Permalink
Change output color to all cyan, except "in"
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmcnally committed Oct 6, 2016
1 parent e8d0053 commit e3dcaaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-scripts/scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@ function getProcessNameOnPort(port) {

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

return processCommandsAndDirectories.join('\n ');
Expand Down

0 comments on commit e3dcaaf

Please sign in to comment.