lib/middleman/guard.rb in middleman-2.0.0.rc5 vs lib/middleman/guard.rb in middleman-2.0.0.rc6
- old
+ new
@@ -21,10 +21,10 @@
livereload_options_hash << ", :#{k} => '#{v}'"
end
guardfile_contents << %Q{
guard 'livereload'#{livereload_options_hash} do
- watch(%r{^source/(.*)$})
+ watch(%r{^source/^[^\.](.*)$})
end
}
end
::Guard.start({ :guardfile_contents => guardfile_contents })
\ No newline at end of file