Created
October 31, 2013 10:20
-
-
Save VirtueMe/7247404 to your computer and use it in GitHub Desktop.
A sample how to use watch with the retire task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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