Dear all,
I'm not sure whether it is an expected behavior or an issue, but I'd like to report.
When listening as the followings, it does not break from the block even when something changed on the directory.
require 'listen'
Listen.to('.') do |m,a,r|
p m,a,r
break
end
Instead, the followings stop listening when something changed on the directory.
require 'listen'
l = Listen.to('.')
l.change do |m,a,r|
p m,a,r
l.stop
end
l.start
My environment is the followings.
$ ruby -v
ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-linux]
$ gem list --local listen
listen (0.7.3)
$ gem list --local rb-inotify
rb-inotify (0.9.0)
I had posted this to Google Group https://groups.google.com/forum/#!topic/guard-dev/kyLxIosT6IQ as instructed by https://github.com/guard/listen/blob/master/CONTRIBUTING.md and I was asked to open an issue here.
Cheers,
Kyoma
Dear all,
I'm not sure whether it is an expected behavior or an issue, but I'd like to report.
When listening as the followings, it does not break from the block even when something changed on the directory.
Instead, the followings stop listening when something changed on the directory.
My environment is the followings.
I had posted this to Google Group https://groups.google.com/forum/#!topic/guard-dev/kyLxIosT6IQ as instructed by https://github.com/guard/listen/blob/master/CONTRIBUTING.md and I was asked to open an issue here.
Cheers,
Kyoma