sindresorhus/gulp-chmod

Why don't you use gulp.dest option?

heycalmdown opened this issue · 2 comments

Hi,

I was using this plugin for copy files with permission until today without a doubt, but I found a gulp.dest {mode: '0644'} option that is doing as same as gulp-chmod.

What the purpose do you suggest to use this plugin for?

The readme provides a use-case where you couldn't use gulp.dest mode option: https://github.com/sindresorhus/gulp-chmod#tip

Also when you use other vinyl adapters or gulp plugins, eg. gulp-ftp, etc.

Ok, it is more clear. Thanks for the explanation.