Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 300 Bytes
#The simplest possible watch
God.watch do |w|
w.name = "crashy"
w.interval = 1.seconds
w.start = 'ruby ' + File.dirname(__FILE__) + '/scripts/crashy.rb'
w.start_if do |start|
start.condition(:process_running) do |c|
c.running = false
end
end
end