As per https://github.com/OfficeDev/office-js/issues/2267#issuecomment-997681800, we suggest that excel should be able to reload an add-in with custom functions and shared runtime when a local (or remote) service providing the content for the add-in is restarted.
The reloading of the add-in under this circumstances should not require a restart of the entire Excel process.