Clean up the previous debugging, and add some more to the startRepFileWatcher function.