code: function getWatches (directory) {
    var package_path = resolve(directory || './')
    var pkg = read(package_path)
    var watches = extract(pkg)
    return Array.isArray(watches) ? watches : []
  }
docs: Get package watches.
  
  @param {String} directory
  Package directory.
  
  @return {Array}
  Array of watches.