grunt-before-after-hooks
Add hooks to run before every Grunt task and after they are all complete
Install
$ npm install --save grunt-before-after-hooks
Usage
module { // require it at the top and pass in the grunt instance grunt { console; /* {"nameArgs":"plugin_tester","name":"plugin_tester","args":[],"flags":{},"errorCount":0} */ } { console; /* {"nameArgs":"plugin_tester","name":"plugin_tester","args":[],"flags":{},"errorCount":0} */ } { } ; grunt;}
The argument given to the beforeEach
and afterEach
hooks are instances of grunt.task.current
.