add option to listen to host for events instead of filesystem