Skip to content

Commit

Permalink
README: document caching behavior in the generateGlobTasks method
Browse files Browse the repository at this point in the history
  • Loading branch information
UltCombo committed Jun 11, 2016
1 parent 053f034 commit f2bd72b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ Returns an array of matching paths.

Returns an array of objects in the format `{ pattern: string, opts: Object }`, which can be passed as arguments to [`node-glob`](https://github.com/isaacs/node-glob). This is useful for other globbing-related packages.

Note that you should avoid running the same tasks multiple times as they contain a file system cache. Instead, create a new tasks list to ensure that file system changes are taken in consideration.

#### patterns

Type: `string`, `Array`
Expand Down

0 comments on commit f2bd72b

Please sign in to comment.