guard/listen — pull request #45 by dkubb (2012-06-19 19:27:16+00:00)
Title: Fix digest race condition

This fixes a race condition where a tracked file is modified, then deleted, the system will attempt to hash the contents of the already deleted file and raise an exception.

This also includes a refactoring commit for `#content_modified?` that simplifies the main method body by pushing bookkeeping into an ensure block. Feel free to cherry pick just the fix, or both if you agree with the refactoring.