Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an implementation of something like autotest-fsevent for windows?

Basically it's an extension for autotest that listens for notification from OS and allows autotest not to scan for file changes permanently while testing only necessary changes. It saves CPU and disk use.

like image 980
Alexey Avatar asked May 24 '10 09:05

Alexey


2 Answers

Windows provides an API for File Change Notification called FindFirstChangeNotification http://msdn.microsoft.com/en-us/library/aa365261(VS.85).aspx

It turns out that somebody already made a small ruby-bridge for this you might use for a starting point: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/36807

like image 154
rud Avatar answered Nov 12 '22 13:11

rud


There is rb-fchange for Guard.

like image 28
stereobooster Avatar answered Nov 12 '22 11:11

stereobooster