This is great. Exactly what I was looking for. Thanks! Cheers, LacKac
On Sep 9, 6:20 pm, Nathan Humbert <[email protected]> wrote: > http://gist.github.com/571095 > > This is a custom condition that returns true if the modification time > of the file is more recent than the start time of the process being > watched. > > Usage: > > restart.condition(:restart_file_touched) do |c| > c.interval = 5.seconds > c.restart_file = File.join(rails_root, 'tmp', 'restart.txt') > end -- You received this message because you are subscribed to the Google Groups "god.rb" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/god-rb?hl=en.
