add listen generation for handlers that automatically watches changes