catlogjs
Version:
Static site generator, translate human readable text format(such as markdown) into html, with a lot of other functions
25 lines (24 loc) • 579 B
JavaScript
module.exports = function(grunt) {
'use strict';
grunt.initConfig({
echo: {
one: { message: 'one has changed' }
},
watch: {
options:{
dateFormat: function(time) {
grunt.log.writeln('dateFormat has worked! Done in ' + time + 'ms. Waiting...');
}
},
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']);
};