Commit 278110ea
278110ea9630Merged
Justin Dorfman <[email protected]> · 10 years ago · 2 files · ~2 modified
Description
Added watch task to grunt
Details
- Commit
- 278110ea9630
- Parent
- 4c1a451df474
public/2016/gruntFile.jsmodifiedView file
@@ -10,10 +10,18 @@
1010
'index.html': './index.source.html', // 'destination': 'source'1111
}1212
},13+
},14+
watch: {15+
html: {16+
files: ['*.source.html'],17+
tasks: ['htmlmin']18+
}1319
}1420
});1521
1622
grunt.loadNpmTasks('grunt-contrib-htmlmin');23+
grunt.loadNpmTasks('grunt-contrib-watch');24+
1725
grunt.registerTask('default', ['htmlmin']);1826
1927
};public/2016/package.jsonmodifiedView file
Loading diff…