Skip to content

Commit cacdd0f

Browse files
committed
feat(build): show elapsed time for grunt tasks
yeoman/yeoman#1151
1 parent 19a796f commit cacdd0f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

templates/common/Gruntfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ var mountFolder = function (connect, dir) {
1515
module.exports = function (grunt) {
1616
// load all grunt tasks
1717
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
18+
require('time-grunt')(grunt);
1819

1920
// configurable paths
2021
var yeomanConfig = {

templates/common/_package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"matchdep": "~0.1.2",
2525
"connect-livereload": "~0.2.0",
2626
"grunt-google-cdn": "~0.2.0",
27-
"grunt-ngmin": "~0.0.2"
27+
"grunt-ngmin": "~0.0.2",
28+
"time-grunt": "~0.1.0"
2829
},
2930
"engines": {
3031
"node": ">=0.8.0"

0 commit comments

Comments
 (0)