Adds support for watching and cleaning a directory