gtg092x / gulp-sftp

Gulp SFTP Deploy
140 stars 61 forks source link

Feature: clear destination before upload #73

Open rudchenkos opened 7 years ago

rudchenkos commented 7 years ago

Sometimes it is needed to ensure that no old files are left in the remote destination directory. This commit introduces the new option clearDestination which makes gulp-sftp delete everything from remotePath before uploading files.

araker commented 6 years ago

Would be nice if this could be merged into the main branch.

JacobDB commented 5 years ago

@gtg092x any chance this can be merged?