Adding some limits and monitoring with iNotify
This commit is contained in:
@@ -38,8 +38,8 @@ module Pipeline::Util
|
||||
notifier = INotify::Notifier.new
|
||||
notifier.watch("#{workdir}/iteration", :moved_to, :create) do |event|
|
||||
puts "!!!!!!!!!!! #{event.name} is now in iteration!"
|
||||
puts event
|
||||
notifier.watch("{workdir}/iteration/#{event.name}", :modify) do |event|
|
||||
puts event.to_h
|
||||
notifier.watch("#{workdir}/iteration/#{event.name}", :modify) do |event|
|
||||
puts event
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user