Tuesday 15 February 2011

javascript - Unable to skip files using grunt-contrib-clean -


For my life I can not get a clean job to leave some files.

  Clear: {empty_dist: ['./dist / ** / *'.! / Dist / home / config.js']}  

When I run it, my dist / DIR becomes completely empty, in which Dist / home / config.js , which I wanted to leave.

I use it by using Grint clean: empty_dist version ^ 0.5.0

its Apart from this, ** / * ' and ' * '

It looks as if the dist / home is being deleted, maybe you have your initial match ./t/ ** / *. Js should be replaced with (or code!! / Dist / home ).


No comments:

Post a Comment