Visual Studio Code:  ‘deploy on save’ into source org.

Setup:

Ctrl + Shift + P | enter “Setting” in box and select -> Preferences:Open User Settings

1

Expand Extensions. | Click on “Salesforce Feature…” | Click on “Edit in settings.json”

2

Add 👉 “salesforcedx-vscode-core.push-or-deploy-on-save.enabled”: true in the settings.json

3

Save.

Restart the VS CODE.

Now if you save the code it will automatically deploy code to your source org (authorized org).

 

Thanks

Arun