>I think we could try using newer file features from Java 7 which might >make the scanning obsolete. But I've never looked into it.
you mean with e.g. this? https://docs.oracle.com/javase/7/docs/api/java/nio/file/WatchService.html i had this on my todo list some time ago for fsresource - but after some first experiments this seems to behave different depending on the operation system (windows vs. linux), so i dropped it that time. if someone comes up with a concept that works reliable on all operation systems i would be glad to help integrate it in fsresource. stefan