Refresh repository after a file is saved.