Forcing imported modules to refresh after updating

Hi everyone,
I recently came across a bug which I hadn't previously experienced. I have two scripts, the first is a custom module which is imported into the second script. Normally, I can modify both scripts and when I run them, the modifications are included.

Today, if I updated the module to be imported and ran the second script, none of the changes would come through. This would only be fixed by closing and reopening sim4life.
To get around this problem, I had to force my script to reload my imported modules, which can be done in the following way:

from imp import reload
import MyModule
reload(MyModule)

Since I have not come across this problem previously, I am inclined to believe that I have accidentally changed a setting in Sim4Life which is preventing automatic reloading of modified scripts. Any assistance in fixing this would be appreciated, though my current fix should be enough if necessary.

Cheers,
Jexyll

This is common. Once you import a script, it becomes cached so even if you make changes to it and save it, python won't see the changes. You need to reload it as you said if you make changes to the imported script after running your main script.