问题
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