Sublime Forum

Refresh externally modified file

#1

I have been looking around, is there a way to trigger sublime to reload/refresh a file that has focus in the editor.

My use case: I have external formatter that I run on the file that is open, but I have to navigate away and back to the file to have the changes shown.

I have tried calling “subl $file_name” but that doesn’t refresh it.

Thanks!

0 Likes

#2

Look in File Menu --> Revert File
“command”: “revert”

0 Likes