catlogjs
Version:
Static site generator, translate human readable text format(such as markdown) into html, with a lot of other functions
20 lines (19 loc) • 450 B
JavaScript
module.exports = function(grunt) {
'use strict';
grunt.initConfig({
echo: {
files: ['lib/*.js'],
},
watch: {
files: ['<%= echo.files %>'],
// Dont make tasks an array
// To ensure it works with cliArgs: See #115
tasks: 'echo',
},
});
// Load the echo task
grunt.loadTasks('../tasks');
// Load this watch task
grunt.loadTasks('../../../tasks');
grunt.registerTask('default', ['echo']);
};