Watches directory and matches using regex.