# Lag in using sublime text + revise on a new laptop

**URL:** https://discourse.julialang.org/t/lag-in-using-sublime-text-revise-on-a-new-laptop/79471
**Category:** Offtopic
**Tags:** revise
**Created:** [April 14, 2022, 6:52am UTC](https://discourse.julialang.org/t/lag-in-using-sublime-text-revise-on-a-new-laptop/79471 "2022-04-14T06:52:44Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jishnub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jishnub/32/33620_2.png) [@jishnub](https://discourse.julialang.org/u/jishnub)
#### Post date: [April 14, 2022, 6:52am UTC](https://discourse.julialang.org/t/lag-in-using-sublime-text-revise-on-a-new-laptop/79471/1 "2022-04-14T06:52:45Z")

</div>

I am encountering a somewhat strange issue that I haven’t faced before. I am editing a file in sublime text, and I save the file and switch over to an open session that has `Revise` loaded. For some reason, the update to the file isn’t reflected immediately in the REPL. I need to wait for 3-4 seconds for some buffer to be flushed to disk, after which `Revise` manages to load the changes. This is on a new laptop where the `/home` partition is on an M.2 SSD, formatted as `ext4`.

I wonder if anyone has faced similar issues before. I’m uncertain if it’s an issue with the hardware setup, or with sublime, or it lies elsewhere.

---

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)
#### Post date: [April 14, 2022, 2:31pm UTC](https://discourse.julialang.org/t/lag-in-using-sublime-text-revise-on-a-new-laptop/79471/2 "2022-04-14T14:31:19Z")

</div>

I would bring this up on the ST forum, [https://forum.sublimetext.com/](https://forum.sublimetext.com/)

---

<div class="post-metadata">

### Author: ![lobingera](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lobingera/32/211_2.png) [@lobingera](https://discourse.julialang.org/u/lobingera)
#### Post date: [April 14, 2022, 2:57pm UTC](https://discourse.julialang.org/t/lag-in-using-sublime-text-revise-on-a-new-laptop/79471/3 "2022-04-14T14:57:58Z")

</div>

Let me guess: On Win10?

Windows in general has several serious issues in the filesystem cache, that leads to delayed updates of files.

---

<div class="post-metadata">

### Author: ![marius311](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marius311/32/3953_2.png) [@marius311](https://discourse.julialang.org/u/marius311)
#### Post date: [April 14, 2022, 9:40pm UTC](https://discourse.julialang.org/t/lag-in-using-sublime-text-revise-on-a-new-laptop/79471/4 "2022-04-14T21:40:43Z")

</div>

Revise does have a [polling option](https://timholy.github.io/Revise.jl/stable/config/#Polling-and-NFS-mounted-code-directories:-JULIA_REVISE_POLL-1) that would create a few sec lag. You don’t happen to have that accidentally on?

---

<div class="post-metadata">

### Author: ![jishnub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jishnub/32/33620_2.png) [@jishnub](https://discourse.julialang.org/u/jishnub)
#### Post date: [April 15, 2022, 7:57am UTC](https://discourse.julialang.org/t/lag-in-using-sublime-text-revise-on-a-new-laptop/79471/5 "2022-04-15T07:57:05Z")

</div>

Thanks, this was indeed the solution. Unbeknownst to me, this was being set in one of the rc files that I had probably copied over from another system.
