Watches directory changes.