grails/grails-core — pull request #553 by candrews (2014-11-24 20:32:41+00:00)
Title: Ignore WatchEvents for items not being watched

Before this commit, when a WatchEvent occurs for a directory/file that's not being watched, an IllegalStateException would be thrown as it was believed such a situation would never occur. With this commit, that scenario is now properly handled.