From efdaf1b9249e53940baa1feda3bfd68ab1be02e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bachelier?= Date: Tue, 4 Nov 2014 21:58:05 +0100 Subject: [PATCH] fix(verbosity): add some ouput for useminPrepare in non verbose mode Follow the request from @XhmikosR in #476 in comment: https://github.com/yeoman/grunt-usemin/issues/476\#issuecomment-61568464 --- tasks/usemin.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/usemin.js b/tasks/usemin.js index 13ca3fe..4914b2d 100644 --- a/tasks/usemin.js +++ b/tasks/usemin.js @@ -205,5 +205,8 @@ module.exports = function (grunt) { grunt.verbose.subhead(' ' + name + ':') .writeln(' ' + util.inspect(grunt.config(name), false, 4, true, true)); }); + + // only displayed if not in verbose mode + grunt.verbose.or.writeln('Configuration changed for', grunt.log.wordlist(cfgNames)); }); };