A usage scenario of the extended version of grunt.file.expandFiles
that has the added feature of providing lists of:
- all - set of all files matching the
src
definition of the task (default option) - changed - set of files matching the
src
definition of the task that have been changed since the last iteration of thewatch
task - deleted - set of files matching the
src
definition of the task that have been deleted since the last iteration of thewatch
task
The task execution would go something like this:
- check for changed files: