When changing an env var from the Aliases and Variables window, the scene instantly updates automatically to reflect that variable change anywhere it was being used.
But when changing the same env var with setenv in HScript or hou.putenv, the scene does not update. I've also noticed it takes a few seconds to reflect that change in the Aliases and Variables window if you have it open while changing it.
What is the correct way to force the scene to update after changing an env var like this?
thank you!