catlogjs
Version:
Static site generator, translate human readable text format(such as markdown) into html, with a lot of other functions
23 lines (22 loc) • 464 B
JavaScript
module.exports = function(grunt) {
'use strict';
grunt.initConfig({
echo: {
one: { message: 'one has changed' }
},
watch: {
options:{
atBegin: true
},
one: {
files: ['lib/one.js', 'Gruntfile.js'],
tasks: 'echo:one',
}
}
});
// Load the echo task
grunt.loadTasks('../tasks');
// Load this watch task
grunt.loadTasks('../../../tasks');
grunt.registerTask('default', ['echo']);
};