code: function recordWatchedFiles(processName, filePath, watchedFiles) {
    if (typeof watchedFiles[processName] !== 'undefined' &&
        watchedFiles[processName].length > 0) {
      watchedFiles[processName].push(filePath);
    } else {
      watchedFiles[processName] = [filePath];
    }
  }
docs: /*
  records the watched file name
  so that i can unwatch it when the process exits
  
  @param {string} process name
  @param {string} watched file path