How to watch a directoy for changes.