module.exports = function(grunt) { grunt.initConfig({ 'meta': { 'srcfiles': [ 'index.src.html' ] }, 'shell': { 'anolis': { 'command': 'anolis --output-encoding=utf-8 --omit-optional-tags --quote-attr-values --enable=xspecxref --enable=refs --w3c-shortname="web-ecmascript" index.src.html index.html', 'stdout': console.log, 'stderr': console.log } }, 'watch': { 'files': '', 'tasks': 'default' } }); grunt.loadNpmTasks('grunt-shell'); grunt.registerTask('default', 'shell watch'); };