Script not updating changes when testing

I am having a problem with scripts not updating with the recent changes when I run the world on studio,
It only happens when I have the script placed elsewhere with the 3D world open

Resetting and running again updates the scripts with the recent changes