It seems that some file types always auto-save (while typing) regardless of the global auto-save settings (General -> Synchronization).
This sometimes leads to troubles with related (external - not controlled by idea) background tasks that watch these files.
For instance, I run Compass from the command line in watch mode. This is what happens
- Start editing/typing in a .scss file
- Auto-save triggered while typing
- External compass process picks up file change, fails because source file syntax is in a (temporary) invalid state
- More typing (maybe 1sec)
- I switch to the browser
- Save on deactivation kicks in
- Compass misses to react to the last save
- In the browser I reload the stylesheet which is in an invalid state
- I have to switch back to idea, simulate a change, to trigger recompilation
Also, if the triggered task takes longer to complete because it not only works on the one changed file, but recompiles a target file based on multiple source files, these auto-saves are delaying my work.
I checked, and in other file types the auto-save only occurs according to the settings (frame deactivation, after idle of x seconds, etc)
LIVE EDIT is disabled.
Is this expected behavior. Can I somehow configure/disable the auto-save for these file types?