Add logging for intermediate output to support long running tasks,
and add example to Gruntfile.js to demonstrate.