Client update event

Hi. Would it be possible to get a global event for when the client is updated (when someone presses save and publish in the designer) please?

I have some script code that must be reinitialised whenever the project is updated. At the moment the only way seems to be adding it to internalFrameActivated on every single window.

If the client startup script also ran on a project update that would be sufficient for this case, although I suspect that isn’t a suitable option for other cases.

Thanks.
Simon