From 83b45e914b123ab52e6a1474846f1ffc02ca0044 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Tue, 12 Jun 2012 13:45:57 -0400 Subject: [PATCH] also make old guard happy --- lib/guard/rails.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/guard/rails.rb b/lib/guard/rails.rb index 12e1421..dab9058 100644 --- a/lib/guard/rails.rb +++ b/lib/guard/rails.rb @@ -51,6 +51,8 @@ module Guard def run_on_changes(paths) reload end + + alias :run_on_change :run_on_changes end end