# Revise stops tracking changes

**URL:** <https://discourse.julialang.org/t/revise-stops-tracking-changes/36895>\
**Category:** General Usage\
**Created:** [April 2, 2020, 9:52am UTC](https://discourse.julialang.org/t/revise-stops-tracking-changes/36895 "2020-04-02T09:52:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sloede](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sloede/32/44787_2.png) [@sloede](https://discourse.julialang.org/u/sloede)\
**Post date:** [April 2, 2020, 9:52am UTC](https://discourse.julialang.org/t/revise-stops-tracking-changes/36895/1 "2020-04-02T09:52:14Z")

</div>

After certain types of errors, [Revise.jl](https://github.com/timholy/Revise.jl) stops tracking changes. One such error type seem to be syntax errors, but other times I feel like there are additional cases where Revise just stops monitoring files. Note that I am using a normal (ext4) file system, so no NFS etc.

Is this a known issue/feature with Revise, that syntax errors cause it to stop tracking changes, or is my personal setup broken? And is there a way to make Revise recover from this, or do I have to restart the REPL (like for changing `struct` definitions)?

---

<div class="post-metadata">

**Author:** ![sloede](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sloede/32/44787_2.png) [@sloede](https://discourse.julialang.org/u/sloede)\
**Post date:** [April 11, 2020, 10:57am UTC](https://discourse.julialang.org/t/revise-stops-tracking-changes/36895/2 "2020-04-11T10:57:56Z")

</div>

Alternatively, is there a way to configure Revise such that it does not execute code anymore after the first error occurred?

---

<div class="post-metadata">

**Author:** ![goretkin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goretkin/32/167_2.png) [@goretkin](https://discourse.julialang.org/u/goretkin)\
**Post date:** [April 28, 2020, 5:37am UTC](https://discourse.julialang.org/t/revise-stops-tracking-changes/36895/3 "2020-04-28T05:37:48Z")

</div>

It might help to clear the compile cache files for the package you are Revising. e.g. under `~/.julia/compiled/v1.3/MyPackage`

If you have a reproducible situation, it would be very useful to preserve it so someone could drill deep into the issue.

---

<div class="post-metadata">

**Author:** ![sloede](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sloede/32/44787_2.png) [@sloede](https://discourse.julialang.org/u/sloede)\
**Post date:** [May 1, 2020, 6:30pm UTC](https://discourse.julialang.org/t/revise-stops-tracking-changes/36895/4 "2020-05-01T18:30:01Z")

</div>

Thanks for your input. Fortunately (unfortunately?) the issue has disappeared and I am not able to reproduce it anymore…

---

<div class="post-metadata">

**Author:** ![natgeo-wong](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/natgeo-wong/32/10965_2.png) [@natgeo-wong](https://discourse.julialang.org/u/natgeo-wong)\
**Post date:** [May 1, 2020, 7:45pm UTC](https://discourse.julialang.org/t/revise-stops-tracking-changes/36895/5 "2020-05-01T19:45:23Z")

</div>

From my (limited) experience, syntax errors do stop `Revise.jl` from working. But once those errors are fixed then `Revise.jl` automatically resumes operations as normal.

---

<div class="post-metadata">

**Author:** ![sloede](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sloede/32/44787_2.png) [@sloede](https://discourse.julialang.org/u/sloede)\
**Post date:** [May 2, 2020, 8:09am UTC](https://discourse.julialang.org/t/revise-stops-tracking-changes/36895/6 "2020-05-02T08:09:03Z")

</div>

Yes, I think it was something like this paired with some git commands that make Revise lose track.
