Auto refresh plugins don't work anymore?

I’ve used the same auto refresh plugin forever and its never failed me… Today I load the editor, I get greeted with the new beta composer switch (obviously they’ve pushed an update overnight), and now no matter what I do I can’t get the auto refresh to work. I’ve tried multiple plugins now, same issue.

Is this happening for anyone else? I’m so used to it now that it feels painfully slow having to manually refresh the page to see changes. I really hope this isn’t some Bubble directive to reduce server load… cut costs… surely not.

You don’t need to drop a plugin element in every page, especially not one that works with a time interval and adds tracking requests for its usage.

Just add

	const observer = new MutationObserver((mutationList, observer) => {
		for (const mutation of mutationList) {
			mutation.addedNodes.forEach((node) => {
				if (node.nodeType === 1 && node.classList.contains("bad-revision")) {

	observer.observe(document.body, { childList: true });

in the “script in the body” section of the “SEO/metatag” settings and you have autorefresh on every page. You do need at least a starter plan to have this option to work in bubble.

As an alternative drop the same code in a html element in the page and you have the same behavior on a page by page basis (it works on a free plan as well)

1 Like

This worked like a charm, thank you @dorilama :love_you_gesture:t3:

1 Like