From 9e3830cf7b7d81ef06b2440ff7b97402a70fb13f Mon Sep 17 00:00:00 2001 From: Thomas Reynolds Date: Tue, 9 Aug 2011 14:38:08 -0700 Subject: [PATCH] fix livereload regex --- lib/middleman/guard.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/middleman/guard.rb b/lib/middleman/guard.rb index e159eb02..124f84e2 100644 --- a/lib/middleman/guard.rb +++ b/lib/middleman/guard.rb @@ -25,7 +25,7 @@ module Middleman::Guard guardfile_contents << %Q{ guard 'livereload'#{livereload_options_hash} do - watch(%r{^source/^[^\.](.*)$}) + watch(%r{^source/([^\.].*)$}) end } end