gruntjs/grunt-contrib-watch — pull request #193 by manuelcabral (2013-08-26 16:34:36+00:00)
Title: Clear changedFiles after triggering livereload

Livereload was being triggered for files which had been changed earlier.

For instance, a change to `somefile.html` would trigger livereload and the page would refresh. If `somefile.css` was changed some time later, the livereload would get triggered for both files, which would make the page refresh rather than just injecting the new CSS.

This seems to have fixed it. Couldn't really run the tests because I'm stuck with Windows.