Spotlight has privileged access to /dev/fsevents and logs anything that affects an indexed location's metadata, including creation date and modified date.
Live queries allow continuous updates, but crafting an efficiently polled query for certain watched files may be difficult.
Also, there are no Node plugins that deal with the Spotlight API, so some C++ writing may be in order.
Anything that uses C++ rules out windows unfortunately... which is 30% of DocPad usage.
@balupton This would be specifically for OS X anyway, since the Spotlight API is an OS X-only feature.
It seems that a good majority of the current issues lead back to the ambiguity offered by FSEvents on users that are OS X/Darwin.
We may not have to worry about this issue once Node v0.11 goes stable. A recent update to libuv fixed a glaring issue with FSEvents streams.
I have yet to test DocPad with the most recent unstable branch of Node, but hopefully this will be a more permanent solution than what I am working on.