Of course this problem looks pretty straight forward but it isn't. How can I attach a listener to a folder instead of having to constantly read it's contents and check for changes. Just when it changes, the action I want to execute takes place.
Is there any way to do this?

