Public.System.FSEvents is a Pike module that provides an interface to FSEvents. 
FSEvents is an API in Mac OS X which allows an application to register for 
notifications of changes to a given directory tree without forcing the 
application to continously poll the directory tree.

This module is designed for use in asynchronous or backend mode, that is, 
rather than polling for changes, a function you specify will be called when 
events of interest occur. This module assumes the presence and use of
a CFRunLoop based Backend object, otherwise this module will not receive
events from the OS. The CFRunLoop Backend is a new feature that is available 
in development versions of Pike 7.9.6 and greater running on Mac OS X 10.5 and 

See the examples directory for a sample script that prints out events for 
a given directory, as they occur.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.