Monitoring a directory for changes in OSX without fsevent

倖福魔咒の 提交于 2019-12-12 03:09:25

问题


Is there an alternative to fsevent or some kind of wrapper for it?

I'm trying to monitor a specific folder for changes to files with a certain extension.


回答1:


There is UKKQueue, which is a nice wrapper for kernel queue event monitoring - the alternative mentioned in the documentation.



来源:https://stackoverflow.com/questions/7209811/monitoring-a-directory-for-changes-in-osx-without-fsevent

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!