In ST2, if you run the browser_refresh command with "auto_save": true, and you have "trim_trailing_white_space_on_save": true in your preferences, then the following occurs in this order:
The document saves
The browser refreshes
Trailing whitespace is trimmed
Because the trimming occurs after the save, the document is now in an unsaved state. It's a nitpick, but is it possible to modify the plugin so that whitespace trimming occurs before the save, as it does when I hit "Save"?
In ST2, if you run the
browser_refresh
command with"auto_save": true
, and you have"trim_trailing_white_space_on_save": true
in your preferences, then the following occurs in this order:Because the trimming occurs after the save, the document is now in an unsaved state. It's a nitpick, but is it possible to modify the plugin so that whitespace trimming occurs before the save, as it does when I hit "Save"?