Watch a directory for file changes and exit