Is there a way of triggering a page refresh / hooking into the publish page action?

We have a lot of custom JS which we have purposely set to run outside of the editor in order to not disrupt the page editing experience. The only issue with this is that when you save a page, the page is blank, and requires a page refresh to see the changes ‘outside of the editor’. Is there a way that we can force a page to refresh after the publish action has been fired when publishing?

add_filter( 'fl_builder_should_refresh_on_publish', '__return_true' );