code: func shouldWatchFileWithExtension(name string) bool {
  	for _, s := range watchExts {
  		if strings.HasSuffix(name, s) {
  			return true
  		}
  	}
  	return false
  }
docs: // shouldWatchFileWithExtension returns true if the name of the file
  // hash a suffix that should be watched.