diff --git a/src/MixPugTask.js b/src/MixPugTask.js
index <HASH>..<HASH> 100644
--- a/src/MixPugTask.js
+++ b/src/MixPugTask.js
@@ -25,7 +25,7 @@ class MixPugTask extends Task {
         this.seedPath = options.seeds;
         this.locals = options.locals || {};
 
-        this.updateSeeder();
+        this.seeder = this.createSeeder();
 
         // Prepare Template Files
         this.templates = files;
@@ -88,8 +88,8 @@ class MixPugTask extends Task {
      * Updates seeder with changed data files
      * 
      */
-    updateSeeder() {
-        this.seeder = new PugSeeder(this.seedPath)
+    createSeeder() {
+        return new PugSeeder(this.seedPath)
             .extend(this.locals);
     }
 
@@ -99,7 +99,7 @@ class MixPugTask extends Task {
      * @param {string} updatedFile 
      */
     onChange(updatedFile) {
-        
+        this.seeder = this.createSeeder();
         this.compile();
     }
 
diff --git a/src/PugSeeder.js b/src/PugSeeder.js
index <HASH>..<HASH> 100644
--- a/src/PugSeeder.js
+++ b/src/PugSeeder.js
@@ -68,6 +68,7 @@ class PugSeeder {
      */
     extend(data) {
         this.locals = _.extend(this.locals, data);
+        return this;
     }
 
 }
[Bugfix] Seeder undefined.