I am developing a toolbox for arcgispro 2.2.3.
I have the regular template .pyt file, and import a regular module.py file which contains my custom code. I can run the script just fine in arcgispro geoprocessing facility.
If I then modify the .py file, I then refresh in pro. The pyt flie appears to be refreshed, but NOT the .py file. The only way I can get pro to re-read the .py file is to close arcgis and re-open it again. It then reads the py file.
It would appear that pro holds a copy of the toolbox in a different folder to the folder I am editing?
If I put ALL my code into the pyt file it is ok, but that is very poor programming practise.