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