Save file

Hi,

is there any option how to force the Webstorm to save file into disk? I use Ctrl+S but it is not 100% reliable. The reason why I'm asking is that I use tools that watch file changes and once some file changes an action is triggered (karma test, webpack rebuild, etc.). The workaround is that I have to touch the file using command line.

Thanks for any help

Pavel

0
1 comment

Ctrl+S is 100% reliable.

the issue may be caused by the way WebStorm saves things: changes are not written directly to original file but to temporary one instead, which is renamed and replaces original file when save operation is completed successfully. Not all watches can correctly handle "safe write", so I'd suggest disabling Use "safe write" in Settings | Appearance & Behavior | System Settings 

1

Please sign in to leave a comment.