Add modified gruntfile.js and tasks
This commit is contained in:
17
tasks/options/watch.js
Normal file
17
tasks/options/watch.js
Normal 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']
|
||||
}
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user