Skip to content

Add 'execSync' option#9

Open
ttback wants to merge 1 commit into
jdavis:masterfrom
ttback:master
Open

Add 'execSync' option#9
ttback wants to merge 1 commit into
jdavis:masterfrom
ttback:master

Conversation

@ttback
Copy link
Copy Markdown

@ttback ttback commented Feb 13, 2015

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'
           }
}

If execSync=true, run the task synchronously
@jdavis
Copy link
Copy Markdown
Owner

jdavis commented Feb 13, 2015

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants