Is there a way to change the theme on the fly based on the appearance.json file?

My appearance.json is symlinked to a directory of my current theme. Every time I change the theme, I need to relaunch Obsidian to apply the new style.
Obsidian has an internal way to change the theme on the fly, but only through manual intervention in the Appearance settings.