Home Download Buy Blog Forum Support

Refresh externally modified file

Refresh externally modified file

Postby timothy.overly on Wed Aug 14, 2013 3:15 pm

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!
timothy.overly
 
Posts: 2
Joined: Wed Aug 14, 2013 3:12 pm

Re: Refresh externally modified file

Postby robertcollier4 on Thu Aug 15, 2013 3:05 am

Look in File Menu --> Revert File
"command": "revert"
robertcollier4
 
Posts: 154
Joined: Sun Feb 24, 2013 5:37 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 23 guests