Adding some limits and monitoring with iNotify

This commit is contained in:
Charles Care
2019-11-28 18:08:08 +00:00
parent 4eb443c607
commit bf2f7306d4

View File

@@ -39,7 +39,7 @@ module Pipeline::Util
notifier.watch("#{workdir}/iteration", :moved_to, :create) do |event|
puts "!!!!!!!!!!! #{event.name} is now in iteration!"
notifier.watch(event.absolute_name, :modify) do |event|
puts event
puts "!!!!!!!!!!! #{event.absolute_name} changed"
end
end
notifier.watch("#{workdir}/tmp", :moved_to, :create) do |event|