Save on deploy triggers separately for any changed or created files in package directory for projects with manifest. Deploy on save tries to deploy even filest that are not salesforce metadata.
What is worst retrieving source or changing branches in git makes extension attempt to deploy all changed sources, running deploy separately for each. If there are large differences between branches separate deploys may not compile and even freeze visual studio code.
This makes this feature pretty much unusable when working with source control.
OR
OR
OR
Deploy source to org is executed on any file modification.
Deploy source to org should only execute when actively saving file in visual studio code.
VS Code Version:
1.30.2
SFDX CLI Version:
6.5.0
OS and version:
Ubuntu 18.10
Thanks for the feedback @MariuszAndrzejewski, we're currently working on some enhancements related to that feature and will include this as part of that work.
Wow... I wish I had seen this issue BEFORE discovering the same via similar steps.... I basically just nuked an entire UAT ORG. WTF...
Sorry about this everyone. We have a fix coming out next week per the above PR. ^
Similar issue happens when autosave is enabled and new class or trigger is created through vs code command pallete
The fix for this is part of version 44.18.0 of the extensions. Thanks for reporting the issue and being patient while we addressed it.
Most helpful comment
Sorry about this everyone. We have a fix coming out next week per the above PR. ^