+ Start a Discussion
Viru D.Viru D. 

Salesforce DX : development without scratch org / setup sandbox for development

I want to setup SFDX environment without scratch org that is pull all metadata from to local machine like ecplise and save it back with Ctrl + S.
here I was able to complete few steps but still not complete.

sfdx force:auth:web:login --setalias my-sandbox --instanceurl https://test.salesforce.com
sfdx force:mdapi:retrieve -r ./AllCode_APIZip -u my-sandbox -k src/package.xml
sfdx force:mdapi:deploy -c -f ../AllCode_APIZip/unpackaged.zip -u my-sandbox -w 10

I got the code on local machine but after clicking Ctrl + S, it is not saving to server. 
Thanks in advance.

SandhyaSandhya (Salesforce Developers) 

If the code is not saving to server, then check if you are in online mode and also check whether Build Automatically is selected.

Refer to the below link for screenshots.

Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
Best Regards