grunt.file.copy process fn isn't given filename #500

robdodson opened this Issue Nov 1, 2012 · 7 comments


None yet
4 participants

The optional process function for grunt file copy is really useful but right now it only receives one argument, the contents of the file. It would be really useful if it also received the filename. That way if you need to tweak a specific file you can do so during the copy phase.


tkellen commented Nov 1, 2012

Right you are! We'll be adding that (along with a slew of other api improvements) after 0.4 is released.

wonderful! :D

is there a rough ETA for 0.4?


tkellen commented Nov 1, 2012

As soon as we finish the docs. Fingers crossed we'll have enough time to do that by the end of next week.


ctalkington commented Dec 7, 2012

@cowboy from what i can tell the below line handles this in v0.4?


cowboy commented Dec 7, 2012


i can haz 0.4.0? 🍰


cowboy commented Dec 31, 2012

Yeah, this is in 0.4.0 which will be releasing soon (eg. when I'm happy with it).

cowboy closed this Dec 31, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment