Clear changedFiles after triggering livereload
This commit is contained in:
parent
0d8a7b6381
commit
a73df91608
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user