gruntjs/grunt — pull request #1191 by basarat (2014-08-01 07:30:32+00:00)
Title: Set the done flag on the context so it can be determined if complete was called

This is needed because `grunt-contrib-watch` calls `complete` on our behalf. We should not call `done` ourself in this case. This change will allow us to check for external completion inside our task.

More : https://github.com/gruntjs/grunt-contrib-watch/issues/361#issuecomment-50856553