wecodemore / grunt-githooks

A Grunt plugin to help bind Grunt tasks to Git hooks
https://npmjs.org/package/grunt-githooks
MIT License
317 stars 24 forks source link

Fix: pipe stdout from commit hook tasks while running #36

Closed F1LT3R closed 9 years ago

F1LT3R commented 9 years ago

Adding this...

.stdout.on('data', function (chunk){
    process.stdout.write(chunk);
});

Makes the output come back realtime.

Fixes https://github.com/wecodemore/grunt-githooks/issues/18