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
srcdefinition of the task (default option) - changed - set of files matching the
srcdefinition of the task that have been changed since the last iteration of thewatchtask - deleted - set of files matching the
srcdefinition of the task that have been deleted since the last iteration of thewatchtask
The task execution would go something like this:
- check for changed files: