grunt-rename icon indicating copy to clipboard operation
grunt-rename copied to clipboard

Add 'execSync' option

Open ttback opened this issue 9 years ago • 1 comments

If execSync=true, run the 'rename' task synchronously

This is a necessary flag in order to run 'watch' task after this rename task. Tested locally against latest grunt-contrib-watch v0.6.1.

An issue is also opened on the grunt-contrib-watch repo, gruntjs/grunt-contrib-watch#409

Usage example:

rename: {
           options:{
                execSync: true
           },
           foo: {
               src: 'foo/src'
               dest: 'foo/dest'
           }
}

ttback avatar Feb 13 '15 18:02 ttback

This plugin is on the way to being deprecated; I don't use Node/Grunt much anymore.

jdavis avatar Feb 13 '15 19:02 jdavis