Sublime Forum

Reloading/Refresh file from disk?

#1

Is there an undocumented command to reload or refresh a file from disk?

0 Likes

#2

¿revert?

0 Likes

#3

Hmm. It seems revert works when launched via ctrl+shift+p. Haven’t been able to get it to work in the code yet, need to figure out the context. Thanks tito! I believe this is exactly what I was looking for.

0 Likes

#4

Got it. Apparently the “refresh” command cannot be run from a Text command due to the fact you have an open edit object. You can run it from a window command though.

0 Likes