Add modified gruntfile.js and tasks

This commit is contained in:
Ben Ramey
2014-03-08 18:37:19 -06:00
parent 5476fa7c46
commit e2f0837cbf
13 changed files with 447 additions and 470 deletions

17
tasks/options/watch.js Normal file
View File

@@ -0,0 +1,17 @@
// watch
module.exports = function(config) {
return {
api: {
// API files to watch:
files: ['api/**/*']
},
assets: {
// Assets to watch:
files: ['assets/**/*'],
// When assets are changed:
tasks: ['compileAssets', 'linkAssets']
}
};
};