是否有Windows的autotest-fsevent之类的实现? [英] Is there an implementation of something like autotest-fsevent for windows?

查看:102
本文介绍了是否有Windows的autotest-fsevent之类的实现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基本上,它是自动测试的扩展,它侦听来自操作系统的通知,并允许自动测试在仅测试必要的更改时不永久扫描文件更改.这样可以节省CPU和磁盘的使用量.

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.

推荐答案

Windows为文件更改通知提供了一个名为FindFirstChangeNotification的API. http://msdn.microsoft.com/en-us/library/aa365261(VS.85).aspx

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

事实证明,有人为此制作了一个小的红宝石桥,您可以以此为起点: http://blade.nagaokaut.ac. jp/cgi-bin/scat.rb/ruby​​/ruby​​-talk/36807

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

这篇关于是否有Windows的autotest-fsevent之类的实现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆