# compile only changed files

**URL:** <https://discourse.julialang.org/t/compile-only-changed-files/13116>\
**Category:** New to Julia\
**Created:** [August 9, 2018, 8:33pm UTC](https://discourse.julialang.org/t/compile-only-changed-files/13116 "2018-08-09T20:33:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmjadHD](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@AmjadHD](https://discourse.julialang.org/u/AmjadHD)\
**Post date:** [August 9, 2018, 8:33pm UTC](https://discourse.julialang.org/t/compile-only-changed-files/13116/1 "2018-08-09T20:33:46Z")

</div>

is it possible to compile a script only if it was modified much like ANT for java ?

---

<div class="post-metadata">

**Author:** ![tkoolen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkoolen/32/1603_2.png) [@tkoolen](https://discourse.julialang.org/u/tkoolen)\
**Post date:** [August 10, 2018, 12:14am UTC](https://discourse.julialang.org/t/compile-only-changed-files/13116/2 "2018-08-10T00:14:53Z")

</div>

The closest thing to that is to use [https://github.com/timholy/Revise.jl](https://github.com/timholy/Revise.jl). It doesn’t fix the problem that Julia doesn’t cache native code between Julia sessions, but it does allow you to change code and use it without restarting Julia (while only recompiling what needs to be recompiled), which can be a massive productivity boost.
