From cacdd0fb5815355f6e35343c53e876352e622180 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Tue, 13 Aug 2013 15:42:22 +0200 Subject: [PATCH] feat(build): show elapsed time for grunt tasks https://github.com/yeoman/yeoman/issues/1151 --- templates/common/Gruntfile.js | 1 + templates/common/_package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/common/Gruntfile.js b/templates/common/Gruntfile.js index 87322e123..20aaa2125 100644 --- a/templates/common/Gruntfile.js +++ b/templates/common/Gruntfile.js @@ -15,6 +15,7 @@ var mountFolder = function (connect, dir) { module.exports = function (grunt) { // load all grunt tasks require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); + require('time-grunt')(grunt); // configurable paths var yeomanConfig = { diff --git a/templates/common/_package.json b/templates/common/_package.json index 12a4f0e47..f480d21d3 100644 --- a/templates/common/_package.json +++ b/templates/common/_package.json @@ -24,7 +24,8 @@ "matchdep": "~0.1.2", "connect-livereload": "~0.2.0", "grunt-google-cdn": "~0.2.0", - "grunt-ngmin": "~0.0.2" + "grunt-ngmin": "~0.0.2", + "time-grunt": "~0.1.0" }, "engines": { "node": ">=0.8.0"