diff --git a/lib/jekyll/commands/build.rb b/lib/jekyll/commands/build.rb
index <HASH>..<HASH> 100644
--- a/lib/jekyll/commands/build.rb
+++ b/lib/jekyll/commands/build.rb
@@ -46,7 +46,7 @@ module Jekyll
 
         Jekyll.logger.info "Auto-regeneration:", "enabled"
 
-        listener = Listen.to(source, :ignore => ignored) do |modified, added, removed|
+        listener = Listen::Listener.new(source, :ignore => ignored) do |modified, added, removed|
           t = Time.now.strftime("%Y-%m-%d %H:%M:%S")
           n = modified.length + added.length + removed.length
           print Jekyll.logger.formatted_topic("Regenerating:") + "#{n} files at #{t} "
Update implementation of listen for <I>.x