Themes and redundancy

I am playing around with themes and redundancy. I have two gateways setup master/backup. I also have theme I added named global.

image

image

If I add some variables…

:root {
	/* Global Colors */
	--motor-stopped: #FF0000;
        --motor-running: black;
	
	--electrical-off: green;
	--electrical-on: red;
	--electrical-fault-flash-on: red;
	--electrical-fault-flash-off: white;
	
	/* Alarm */
	--alarm-priority-critical: #FF0000;
	--alarm-priority-high: #FFFF00;
	--alarm-priority-medium: #FF8C00;
	--alarm-priority-low: #FF00FF;
	--alarm-priority-diagnostic: #00FF00;
	
	--i-am-new: white;

}

… at what point will the two gateways sync? I did force a re-sync and noticed the new variable, but is there any other time where this event will happen?

css usually only gets loaded in once. It also often gets cached. So a restart is your best bet, if you want it quick.

Thanks, if I change something in a theme that is used in a component for example, that change will show if I save the project and also refresh the browser. That is completely acceptable and understandable. My question isn’t really related to that. but when and if the master/backup gateway will sync. I’m fine accepting things how they are, but I would like to know for certain so I can document for our customers. Right now it looks like the themes only sync on gateway restart. Forcing failover doesn’t seem to trigger anything (not that I would have expected that to).

Can someone help clarify/verify this, maybe @cmallonee ?