Spotfire doesn't recognize changes in external IronPython scripts

I have an IronPython script saved externally, which I import and use within Spotfire like in this article:

https://community.tibco.com/wiki/how-import-external-python-module-using-ironpython-script-tibco-spotfirer-without-deploying

However, when I make a change to the external script and then try to run it via Spotfire, the changes I just made are not reflected. It's as if Spotfire is caching the old version of the script and continuing to run the cached version instead.

I only see this issue when I'm trying to interact with a Spotfire control (e.g. a button) which is configured to run an IronPython script embedded within Spotfire, which in turn imports the external script and runs it. Interestingly, if I instead manually open and run the embedded script, it imports the newly-updated external script and works as expected. 

(1) Answer

Login