# Changes of A.jl are not understood from B.jl that includes A.jl

**URL:** <https://discourse.julialang.org/t/changes-of-a-jl-are-not-understood-from-b-jl-that-includes-a-jl/110498>\
**Category:** New to Julia\
**Tags:** question, precompilation, compiler\
**Created:** [February 21, 2024, 8:04am UTC](https://discourse.julialang.org/t/changes-of-a-jl-are-not-understood-from-b-jl-that-includes-a-jl/110498 "2024-02-21T08:04:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![abraemer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abraemer/32/51403_2.png) [@abraemer](https://discourse.julialang.org/u/abraemer)\
**Post date:** [February 21, 2024, 4:04pm UTC](https://discourse.julialang.org/t/changes-of-a-jl-are-not-understood-from-b-jl-that-includes-a-jl/110498/3 "2024-02-21T16:04:51Z")

</div>

Did you use `Pkg.add` to add `A` as a dependency to `B`? That would fully explain your issue since `add` records the current commit that repository and keeps on using that unless you call `Pkg.update` to change to newest version. If you want to use `Pkg` to just load whatever happens to be at some location on your machine you need to use `Pkg.develop` instead of `Pkg.add`.

The documentation might help you: [`Pkg.add`](https://pkgdocs.julialang.org/v1/repl/) and [`Pkg.develop`](https://pkgdocs.julialang.org/v1/repl/#repl-develop)

---

_[View the full topic](https://discourse.julialang.org/t/changes-of-a-jl-are-not-understood-from-b-jl-that-includes-a-jl/110498)._
