gruntjs/grunt — pull request #645 by adamstallard (2013-01-31 07:13:41+00:00)
Title: Use 'grunt.util.exit' when exiting due to a warning/error

This is so you can see what the error or warning is in the output stream in some environments (notably windows). Otherwise, you lose the last tick, and thus all of the output but the first line, making it impossible to see what the error/warning was.