gruntjs - grunt-init copyAndProcess corrupting png files -


i've started using grunt-init. have working, except i'm finding images/*.png files in template corrupted in transit destination folder.

i suspect init.copyandprocess function corrupting them (they open in gimp template folder not destination folder).

how can copy instead of copyandprocess subset of files in template? preferably using pattern 'images/**' identify files.

you can use filestocopy, since pass noprocess hash, telling grunt-init files should not process.

refer http://gruntjs.com/project-scaffolding#copying-files (grunt-init documentation) , example @ line 73 of commit https://github.com/gruntjs/grunt-init-jquery/blob/ecf070d7469d610441458111bc05cd543ee5bbc0/template.js.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -