You can also set up a wrapper script that reload the external Python file you are editing:
Text file inside Blender:
import impimportlib
import myModule
impimportlib.reload(myModule)
myModule.runMyCode()
This way, every time you press Alt+P to run this script, it will automatically reload the latest version of the code from MyModule
.