Last Updated: February 25, 2016
·
7.873K
· eskimoblood

Save your file every time sublime loose focus

There is a nice feature in IntelliJ based IDEs where you can save a file every time you loose the focus of the editing window. This feature can be enabled in Sublime by adding the following line into your user settings:

"save_on_focus_lost":true 

If you have installed the Browser Refresh for Sublime Text 2 you only need to hit command + shift + r to get your saved result reloaded in the browser.

3 Responses
Add your response

Nice, thanks

over 1 year ago ·

@mechax Do you really edit files in production environment?

over 1 year ago ·

GREAT ONE!

over 1 year ago ·