How to notice customer ui when changing Macro config

There’s useConig hook in UI kit to implement Macro configuration changes.
But for custom UI, how to trigger event to the frontend React apps to know that macro configuration parameters were updated ?
It seems that the custom UI bridge can only invoke forge to get the macro configuration, but can’t get event trigger when macro configuration is changed.