docs: function spawnProcess(opts, cmdOptions, childProcs, watchedFiles) {
    var color = colorSet[Object.keys(childProcs).length % colorSet.length];
    var cmdTokens = opts.command.split(' ');
    var childProcess = spawn(_.head(cmdTokens),
  			   _.tail(cmdTokens),
  			   {
  			     cwd: parser.cmdWorkingDir(cmdOptions),
  			     env: opts.env
  			   });
  
    childProcess.stdout.on('data', function(data) {
      console.log(('[' + opts.name + '] ' + data)[color]);
    });
  
    childProcess.stderr.on('data', function(data) {
      console.log(('[' + opts.name + '] ' + data)[color]);
    });
  
    childProcess.on('exit', function(code) {
      console.log(('[' + opts.name + '] exited with code ' + code)[color]);
      removePIDFile(opts.name);
    });
  
    childProcess.command = opts;
    writePIDFile(childProcess.pid, opts.name);
  
    return childProcess;
  }