Commit Graph

18 Commits

Author SHA1 Message Date
Marian Schubert
9ff627cfaa Return unique filenames from Linux listener
so that we don't get duplicate entries for same file. This solves problem with
commonly used Linux editors (e.g. Vim, Emacs) that generate multiple inotify
events on file save.

http://schettino72.wordpress.com/2010/03/07/inotify-text-editors-emacs-vim/
2011-01-26 12:17:09 +00:00
Thibaud Guillaume-Gentil
9772e9d9c8 Replaced Thread (incompatible with inotify) by a whole dir scan after each run_on_changes 2011-01-19 23:05:45 +01:00
Thibaud Guillaume-Gentil
53a79691a5 Kept listener running in thread even when guards plugin are also running. 2010-11-30 21:15:03 +01:00
Thibaud Guillaume-Gentil
edeaa1e864 Depends on rb-fsevent >= 0.3.5 for ruby 1.8.6 support 2010-10-26 21:24:04 +02:00
Thibaud Guillaume-Gentil
5d0ec698de Properly close rb-fsevent pipe after killed it
Closes #5.
2010-10-25 21:36:04 +02:00
Yann Lugrin
7bae189eba more specs on linux listener 2010-10-25 11:16:56 +02:00
Yann Lugrin
0bff5e86d8 wait latency before inotify process to better prevent multiple run of guard on change 2010-10-25 10:24:33 +02:00
Thibaud Guillaume-Gentil
9742ce86a0 Updated rb-fsevent 2010-10-24 10:31:00 +02:00
Yann Lugrin
7af452dc4c don't need to be dup 2010-10-24 04:30:10 +08:00
Yann Lugrin
dd04914657 Linux support work fine now, don't loop more one time on same test. 2010-10-24 04:30:10 +08:00
Yann Lugrin
080ffe2efc stop linux listener quickly 2010-10-24 04:30:09 +08:00
Yann Lugrin
e19a9304ec Change inotify watch options to not fire event when file is juste read 2010-10-24 04:30:08 +08:00
Yann Lugrin
08a9df7bab better support for jruby under linux (but all spec don't pass) 2010-10-22 02:24:02 +08:00
Yann Lugrin
ffe9f933b0 test of linux listener usability work with ruby 1.9.2 2010-10-22 02:24:02 +08:00
Yann Lugrin
31cfcc23d4 linux listener (and spec) work 2010-10-22 02:24:01 +08:00
Yann Lugrin
8a63b94247 waiting on file system event don't block process on linux now (guard can be stopped, spec run but don't pass) 2010-10-22 02:23:59 +08:00
Yann Lugrin
a9d31d292a rescue Interrupt in Linux Listeners 2010-10-20 03:10:34 +08:00
Thibaud Guillaume-Gentil
3f922a0667 Refactorized listeners support
Added polling fallback
Removed sys-uname dependency
2010-10-17 21:42:40 +02:00