Custom modules usage

My LOAD_PATH looks like:

...
~/progs/dev

I have two modules in dev folder. However, I can use using only for one module, and the second one seems “invisible” to Julia for some reasons…

There is no need to use LOAD_PATH any more, just pkg> dev the relevant packages in your environment (could be the default one).

https://julialang.github.io/Pkg.jl/dev/managing-packages/#Developing-packages-1

1 Like

I find PkgTemplates makes this super convenient. My latest workflow looks like the following:

julia> using PkgTemplates
julia> t = Template()
julia> generate("MyNewModule", t)
julia> ] dev MyNewModule

Then I can open the modules source and make changes and thanks to Revise I can just run using MyNewModule and it’s as if everything were all together in the same project except I’m free to keep the modules distinct for commits if they evolve at different paces.