Skip to content

Instantly share code, notes, and snippets.

@VirtueMe
Created October 31, 2013 10:20
Show Gist options
  • Select an option

  • Save VirtueMe/7247404 to your computer and use it in GitHub Desktop.

Select an option

Save VirtueMe/7247404 to your computer and use it in GitHub Desktop.
A sample how to use watch with the retire task
grunt.initConfig({
retire: {
files: ['app/src/*'], /** Scan js-files in app/src/ directory. **/
options: {
jsOnly: true
}
},
watch: {
retire: {
files: '<%= retire.files %>',
options: {
spawn: false,
},
},
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment