Clear changedFiles after triggering livereload. Closes GH-193.

This commit is contained in:
Manuel Cabral 2013-08-26 17:29:26 +01:00 committed by Kyle Robinson Young
parent 0d8a7b6381
commit 0d078cbe8b

View File

@ -76,6 +76,7 @@ module.exports = function(grunt) {
// Trigger livereload if set
if (this.livereload) {
this.livereload.trigger(Object.keys(this.changedFiles));
this.changedFiles = Object.create(null);
}
return time;
};