Add a method to listen to changes in any repository