docs: function recordWatchedFiles(processName, filePath, watchedFiles) {
    if (typeof watchedFiles[processName] !== 'undefined' &&
        watchedFiles[processName].length > 0) {
      watchedFiles[processName].push(filePath);
    } else {
      watchedFiles[processName] = [filePath];
    }
  }