jashkenas/coffee-script — pull request #1964 by TrevorBurnham (2011-12-22 19:36:17+00:00)
Title: Rewatch files on change event (redo)

Replaces botched pull request #1963.

This patch may feel a bit excessive, but it seems to produce consistent behavior under Coda, TextMate 2, git, and all the other edge cases we've encountered with `fs.watch`. Further testing is very welcome.