vscode-deploy-reloaded icon indicating copy to clipboard operation
vscode-deploy-reloaded copied to clipboard

Clean/delete from remote directory before deploy

Open MoreOrLessSoftware opened this issue 5 years ago • 1 comments

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?).

MoreOrLessSoftware avatar Jan 22 '21 23:01 MoreOrLessSoftware

Yeah! That's very strange that there's no such option for FTP.

davay42 avatar Apr 16 '21 20:04 davay42