Modifying Source Files while Julia is Running


Is it safe to modify Julia source files while Julia is running, after all include() statements have executed? I have a simulation that takes several hours to run, and want keep working on the code while it finishes, without affecting the simulation. If it is, is it also safe to launch another Julia process that will use the new code?


Yes, you should be able to edit files after they are all included. Not that I’d really recommend doing that since I’ve personally forgot which one corresponds to which file version while doing this … ;-p


Thanks, I’ll try not to go too crazy running multiple versions of the code at the same time.