Displays the elapsed execution time of grunt tasks
Install with npm: npm install --save time-grunt
// Gruntfile.js
module.exports = function (grunt) {
// require it at the top and pass in the grunt instance
require('time-grunt')(grunt);
grunt.initConfig();
grunt.registerTask('default', []);
}
To reduce visual clutter time-grunt
automatically hides tasks that take less than 1% of the total time.
It see all tasks, run Grunt in verbose mode: grunt --verbose
.
MIT License • © Sindre Sorhus