Clear changedFiles after triggering livereload

This commit is contained in:
Manuel Cabral 2013-08-26 17:29:26 +01:00
parent 0d8a7b6381
commit a73df91608

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;
};