bobmcwhirter/awestruct — pull request #51 by trustin (2011-12-06 11:11:49+00:00)
Title: Work around a problem in rb-fsevent impl on Lion

Currently, Awestruct adds all direct descendants of the site root (`config.input_dir`) to a FSSM monitor. This has two problems:

* `rb-fsevent` on Mac OS X Lion doesn't seem to handle `FSSM::Monitor.file()` request correctly. Therefore, modifying an existing file who is a direct descendant of the site root directory will not trigger site regeneration.
* Awestruct does not process a file newly created at the site root directory.

The proposed patch fixes the problem by simply monitoring the site root directory and ignoring unnecessary events.