Commit 8c9785e6 by benjaminapetersen

Add watch task to automatically run "deploy" task when files in /src change

parent 680fbd10
...@@ -21,6 +21,15 @@ module.exports = function (grunt) { ...@@ -21,6 +21,15 @@ module.exports = function (grunt) {
} }
} }
}, },
watch: {
scripts: {
files: ['src/**/*'],
tasks: ['deploy'],
options: {
spawn: false,
},
},
},
clean: { clean: {
all: ['dist/*'] 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