Test the watchers pattern against a file. @param [String] file the file to test @return [Array<String>] an array of matches (or containing a single path if the pattern is a string)