(function() { 'use strict'; const channel = new BroadcastChannel('writekit-studio'); channel.onmessage = function(event) { if (event.data.type === 'settings-changed') { location.reload(); } }; })();