Why don't you use gulp.dest option?
heycalmdown opened this issue · 2 comments
heycalmdown commented
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?
sindresorhus commented
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.
heycalmdown commented
Ok, it is more clear. Thanks for the explanation.