Clear changedFiles after triggering livereload. Closes GH-193.
This commit is contained in:
parent
0d8a7b6381
commit
0d078cbe8b
@ -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