Skip to content

Commit

Permalink
Problem with "Eleventy fatal watch error" (#2943)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat authored Aug 11, 2023
2 parents b184ed5 + 91755e4 commit ecd0579
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/EleventyWatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ class EleventyWatch {
getActiveQueue() {
if (!this.isActive) {
return [];
} else if (this.incremental && this.activeQueue.length === 0) {
return [];
} else if (this.incremental) {
return [this.activeQueue[0]];
}
Expand Down

0 comments on commit ecd0579

Please sign in to comment.