vscode-deploy-reloaded
vscode-deploy-reloaded copied to clipboard
Clean/delete from remote directory before deploy
Is there a way to clean/delete files from a remote target automatically before deploying the new files?
The remove_on_change option isn't suitable, because the files should only be removed at the time of deployment.
Currently the only way I see to do it is to use the Delete command first, and then Deploy separately. This isn't ideal because it's a manual step that requires a confirmation (do you want to delete local files as well?).
Yeah! That's very strange that there's no such option for FTP.