How do I disable Visual Studio Code auto save
How do I disable Visual Studio Code auto save
Some months ago I observed that angular-cli or Visual Code is saving my files after short delay. Which causes recompiling a project and refreshing a page.
It is useful but frustrating a bit to wait couple of seconds every single time for refresh. Even after just opening a file.
So, the solution that just hit me is very simple.
Go to Preferences/Settings, in Workspace Settings put
"files.autoSave": "off"
That's it!
Now your project will be compiled ONLY after you hit save.
Thanks, I was not sure, I watched it after update VS Code or Angular version.
– Paweł Stolka
Sep 1 at 16:49
Might be an idea to change your title to "How do I disable Visual Studio Code auto save", most people aren't going to search for angular when they realise it's the IDE doing the saving
– Dale
Sep 1 at 16:50
Great, thanks once again! Good to getting know how to contribute here :)
– Paweł Stolka
Sep 1 at 16:53
:) You're welcome, and welcome :)
– Dale
Sep 1 at 16:53
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
This has nothing to do with angular and everything to do with your personal IDE settings
– Dale
Sep 1 at 16:47