I have a custom block which outputs the content created through a post meta field. When the user updates the post meta this should reflect inside the block in the gutenberg editor but it only does so if you manually refresh the page.
Is there a way to get the custom block to refresh when the page is updated?