I'm debugging some arcpy scripts that are failing when running in Pro (that's for another time). As a part of that process, I'm finding that when I make edits to my scripts in another IDE, the updated code is not being run when I re-run the tool in Pro. Because of this, I'm forced to reboot Pro every time I make a script edit which is really slow. Is there any other way to refresh the script within the tool?
To clarify, the process is:
- I run a tool within Pro that references a .py file
- I make changes to code within an IDE to the .py file referenced by the tool (and save, of course)
- in my Pro History tab, I re-run the tool (so I don't have to manually update all my parameters)
- the tool runs again, however it uses the code from before I made any edits in my IDE. i.e. it's not reflecting my edits