I am writing a package in Julia from scratch, and am trying to figure out what the optimal workflow is. (Apologies if this is described somewhere in the documentation)
Note that it is still very much in development, so I do not want to publish it yet using
Right now, every time I change something in the source code, I run
which precompiles the whole thing again. If I don’t include
workspace() and just include the package again, sometimes the package does not actually update.
This also requires the package to be pre-compiled every time I restart julia.
Is this the most efficient way to develop a package? Or are there better methods which only recompile the functions that changed (and anything that depends on those)?