# Changes to codebase not reflecting

**URL:** <https://discourse.julialang.org/t/changes-to-codebase-not-reflecting/35653>\
**Category:** Internals & Design\
**Tags:** development\
**Created:** [March 6, 2020, 5:57pm UTC](https://discourse.julialang.org/t/changes-to-codebase-not-reflecting/35653 "2020-03-06T17:57:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![monsij98](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/monsij98/32/13259_2.png) [@monsij98](https://discourse.julialang.org/u/monsij98)\
**Post date:** [March 6, 2020, 5:57pm UTC](https://discourse.julialang.org/t/changes-to-codebase-not-reflecting/35653/1 "2020-03-06T17:57:56Z")

</div>

I want to make some changes to REPL.jl present at `Julia-1.3.1\share\julia\stdlib\v1.3\REPL\src` (local installation). However the changes aren’t being reflected when I actually run it. Do I need to run an intermediate build command? Here is the `versioninfo()` output:

> Julia Version 1.3.1  
> Commit 2d5741174c (2019-12-30 21:36 UTC)  
> Platform Info:  
> OS: Windows (x86\_64-w64-mingw32)  
> CPU: Intel(R) Core™ i7-8550U CPU @ 1.80GHz  
> WORD\_SIZE: 64  
> LIBM: libopenlibm  
> LLVM: libLLVM-6.0.1 (ORCJIT, skylake)

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [March 6, 2020, 8:48pm UTC](https://discourse.julialang.org/t/changes-to-codebase-not-reflecting/35653/2 "2020-03-06T20:48:05Z")

</div>

You can either run `make`, or use the trick from here: [Pkg.jl/README.md at master · JuliaLang/Pkg.jl · GitHub](https://github.com/JuliaLang/Pkg.jl/blob/master/README.md#using-the-development-version-of-pkgjl)

---

<div class="post-metadata">

**Author:** ![tim.holy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tim.holy/32/52_2.png) [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Post date:** [March 7, 2020, 3:12pm UTC](https://discourse.julialang.org/t/changes-to-codebase-not-reflecting/35653/3 "2020-03-07T15:12:20Z")

</div>

If you don’t have a source build, you can edit the files and then do

```julia
using Revise, REPL
Revise.track(REPL)

```

---

<div class="post-metadata">

**Author:** ![monsij98](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/monsij98/32/13259_2.png) [@monsij98](https://discourse.julialang.org/u/monsij98)\
**Post date:** [March 7, 2020, 4:31pm UTC](https://discourse.julialang.org/t/changes-to-codebase-not-reflecting/35653/4 "2020-03-07T16:31:31Z")

</div>

Still isn’t working. May I have the instructions for the source build ? Maybe changing some lines of the file isn’t enough. I need to build it entirely.

---

<div class="post-metadata">

**Author:** ![monsij98](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/monsij98/32/13259_2.png) [@monsij98](https://discourse.julialang.org/u/monsij98)\
**Post date:** [March 7, 2020, 4:41pm UTC](https://discourse.julialang.org/t/changes-to-codebase-not-reflecting/35653/5 "2020-03-07T16:41:02Z")

</div>

My local installation has REPL.jl at the path `Julia-1.3.1\share\julia\stdlib\v1.3\REPL\src` , whereas it is present under `\stdlib\REPL\src` at GitHub. Would a different path prevent Revise from reflecting the changes ? It is not working out currently.

---

<div class="post-metadata">

**Author:** ![tim.holy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tim.holy/32/52_2.png) [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Post date:** [March 7, 2020, 5:13pm UTC](https://discourse.julialang.org/t/changes-to-codebase-not-reflecting/35653/6 "2020-03-07T17:13:05Z")

</div>

Yes, it is path-dependent. You can unpack `Revise.watched_files` to figure out where it’s looking for the files:

```julia
julia> Revise.track(REPL)

julia> Revise.watched_files
Dict{String,Revise.WatchList} with 7 entries:
  "/home/tim/.julia/packages/JuliaInterpreter/u3T76/src" => WatchList(1.5836e9, Dict("utils.jl"=>JuliaInterpreter [aa1ae85d-cabe-5617-a682-6adf51b2e16a],"types.jl"=>JuliaInterpreter [aa1ae85d-cabe-5617…
  "/home/tim/.julia/dev/Revise/src" => WatchList(1.5836e9, Dict("utils.jl"=>Revise [295af30f-e4ad-537b-8983-00126c2a3abe],"types.jl"=>Revise [295af30f-e4ad-537b-8983-00126c2a3abe],…
  "/home/tim/.julia/packages/LoweredCodeUtils/7mMEd/src" => WatchList(1.5836e9, Dict("LoweredCodeUtils.jl"=>LoweredCodeUtils [6f1432cf-f94c-5a45-995e-cdbf5db27b0b]))
  "/home/tim/src/julia-1/stdlib/REPL/src/TerminalMenus" => WatchList(1.5836e9, Dict("TerminalMenus.jl"=>REPL [3fa0cd96-eef1-5676-8a61-b3b8758bbffb],"RadioMenu.jl"=>REPL [3fa0cd96-eef1-5676-8a61-b3b875…
  "/home/tim/.julia/packages/CodeTracking/gCUPD/src" => WatchList(1.5836e9, Dict("utils.jl"=>CodeTracking [da1fd8a2-8d9e-5ec2-8556-3022fb5608a2],"pkgfiles.jl"=>CodeTracking [da1fd8a2-8d9e-5ec2-8556…
  "/home/tim/src/julia-1/stdlib/REPL/src" => WatchList(1.5836e9, Dict("docview.jl"=>REPL [3fa0cd96-eef1-5676-8a61-b3b8758bbffb],"REPLCompletions.jl"=>REPL [3fa0cd96-eef1-5676-8a61-b3b875…
  "/home/tim/.julia/packages/OrderedCollections/E21Rb/src" => WatchList(1.5836e9, Dict("dict_sorting.jl"=>OrderedCollections [bac558e1-5e72-5ebc-8fee-abe8a469f55d],"ordered_dict.jl"=>OrderedCollections […

```
