Patch Set 4:

Yes, I was always testing on java files. But this works same way for non-java files. For test I've created 3 text files one in java package, one in source folder and one in project root and I always got two events, same as for java files ...