ignore dotfiles in watcher

This commit is contained in:
Thomas Reynolds 2011-07-14 21:07:56 -07:00
parent 292ec97bd8
commit 64b8c70d26

View file

@ -23,7 +23,7 @@ module Middleman::Guard
guardfile_contents << %Q{
guard 'livereload'#{livereload_options_hash} do
watch(%r{^source/(.*)$})
watch(%r{^source/^[^\.](.*)$})
end
}
end