peter-vilja / gulp-clean

A gulp plugin for removing files and folders from given paths.
177 stars 21 forks source link

what's the different between gulp-clean and del? #22

Closed flynntsc closed 8 years ago

flynntsc commented 8 years ago

del is here

peter-vilja commented 8 years ago

gulp-clean is a gulp plugin whereas del is just a node module. del can be used almost anywhere whereas gulp-clean is more tightly coupled with gulp. Gulp supports async tasks when the task returns a Promise. del returns a Promise which makes it easy to use with gulp. Recommended way to delete files and folders can be found here https://github.com/gulpjs/gulp/blob/master/docs/recipes/delete-files-folder.md. (currently it's with del module)

flynntsc commented 8 years ago

thanks a lot