Skip to content

Commit

Permalink
Merge pull request #136 from hvdb/master
Browse files Browse the repository at this point in the history
Added verbose logging for minify
  • Loading branch information
underscorebrody committed Nov 26, 2015
2 parents f331269 + 7946de0 commit e1e1293
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/lib/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ var Compiler = function(grunt, options, cwd) {
this.minify = function(source) {
if (options.htmlmin && Object.keys(options.htmlmin).length) {
try {
grunt.verbose.writeln('Minifying file: ' +source);
source = minify(source, options.htmlmin);
} catch (err) {
grunt.warn(err + '\n\n' + source + '\n\n');
Expand Down

0 comments on commit e1e1293

Please sign in to comment.