quiet-grunt

Limit grunt output to dots if everything goes well. On error print dump everything.


Keywords
grunt, logging, quiet, reporter
License
MIT
Install
npm install quiet-grunt@0.2.3

Documentation

quiet-grunt

Limit grunt output to dots if everything goes well. On error print dump everything.

NPM info

dependencies endorse

Default Grunt output is way too verbose. quiet-grunt replaces each message with single dot. It looks like this everything goes well ..... If there is an error, entire output is dumped.

Install

npm install quiet-grunt --save-dev

Once the plugin has been installed, load it at the beginning of the gruntfile.

require('quiet-grunt');

module.exports = function (grunt) {
...

To skip plugin and use the default reporting, use command line argument --no-quiet

If you want to have ability to make grunt silent but not as default behavior use next trick

if (grunt.option('q') || grunt.option('quiet')) {
    require('quiet-grunt');
}

Inspired by time-grunt

Small print

Author: Gleb Bahmutov © 2014 @bahmutov glebbahmutov.com

License: MIT - do anything with the code, but don't blame me if it does not work.

Spread the word: tweet, star on github, etc.

Support: if you find any problems with this module, email / tweet / open issue on Github