# Reset REPL when testing a module

**URL:** <https://discourse.julialang.org/t/reset-repl-when-testing-a-module/17816>\
**Category:** General Usage\
**Created:** [November 21, 2018, 2:48pm UTC](https://discourse.julialang.org/t/reset-repl-when-testing-a-module/17816 "2018-11-21T14:48:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdestouet](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdestouet/32/6175_2.png) [@gdestouet](https://discourse.julialang.org/u/gdestouet)\
**Post date:** [November 21, 2018, 2:48pm UTC](https://discourse.julialang.org/t/reset-repl-when-testing-a-module/17816/1 "2018-11-21T14:48:58Z")

</div>

Hello everyone,

When I am using the REPL to test a module or script by loading it with `include("test.jl")`, if I ever modify some definitions in the ‘test.jl’ file and include it again some modifications won’t be taken into account. So I have to close and restart the REPL.

Is there a way in interactive mode to reset the environnement without restarting the julia executable ?

Thank you in advance for any advice !

---

<div class="post-metadata">

**Author:** ![Sukera](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@Sukera](https://discourse.julialang.org/u/Sukera)\
**Post date:** [November 21, 2018, 3:11pm UTC](https://discourse.julialang.org/t/reset-repl-when-testing-a-module/17816/2 "2018-11-21T15:11:09Z")

</div>

You might be interested in [Revise.jl](https://github.com/timholy/Revise.jl).
