Update of dev packages seems not persisted

Say I have dev package B that uses dev package A. In the REPL:

julia> using B

It complains that package A is missing dependencies. So, I did:

julia> cd("A")
pkg> activate .
pkg> add someDep
pkg> precompile
julia> cd("..")
julia> using B

Everything is OK now. Then I restarted julia and do:

julia> using B

Julia complains about the same thing on A. What is happening?

Have you tried running

import Pkg
Pkg.activate(".")

again?

Since you added the package(s) to a certain environment, you need to activate this environment again, upon restarting julia.