I ran into an issue with a new build I am creating with gruntjs. I wanted to use grunt-contrib-copy to copy files into my deployment area and then reuse those destination files in a later task. It looks like I should be able to reference task destination files using a template as described in the Grunt: Configuring Tasks documentation. But when I use this with a file array format specified source task it does not work.
I have created a gist that shows the problem: Grunt File Array Example Gist
Reproduction:
- git clone https://gist.github.com/5065053.git test_example
- cd test_example
- npm install
- ./node_modules/.bin/grunt
- See how the output from debug_files tasks don't have files for dests of items specified with file array syntax.
It is likely that I am just doing something wrong, but I can't seem to track it down. Does anyone see my error?