also watch lib rb files

This commit is contained in:
Thomas Reynolds 2011-07-21 13:50:33 -07:00
parent a151a2d3e6
commit e97af242bc

View file

@ -12,6 +12,7 @@ module Middleman::Guard
guardfile_contents = %Q{ guardfile_contents = %Q{
guard 'middleman'#{options_hash} do guard 'middleman'#{options_hash} do
watch("config.rb") watch("config.rb")
watch(%r{^lib/^[^\.](.*)\.rb$})
end end
} }