From e97af242bced9e54ea4f5c2edcbbb2f7ab16e411 Mon Sep 17 00:00:00 2001 From: Thomas Reynolds Date: Thu, 21 Jul 2011 13:50:33 -0700 Subject: [PATCH] also watch lib rb files --- lib/middleman/guard.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/middleman/guard.rb b/lib/middleman/guard.rb index 28c82c6e..4451730d 100644 --- a/lib/middleman/guard.rb +++ b/lib/middleman/guard.rb @@ -12,6 +12,7 @@ module Middleman::Guard guardfile_contents = %Q{ guard 'middleman'#{options_hash} do watch("config.rb") + watch(%r{^lib/^[^\.](.*)\.rb$}) end }