Commit 0df0a6ed by Sam Padgett Committed by GitHub

Merge pull request #160 from benjaminapetersen/bpeterse/watch-files

Add watch task to automatically run "deploy" task when files in /src change
parents 680fbd10 8c9785e6
......@@ -21,6 +21,15 @@ module.exports = function (grunt) {
}
}
},
watch: {
scripts: {
files: ['src/**/*'],
tasks: ['deploy'],
options: {
spawn: false,
},
},
},
clean: {
all: ['dist/*']
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment