gruntjs - grunt.file write/copy with permissions -


is there way specify permissions of file during grunt.file.copy(...), except using 'fs.chmod' after copy has finished?

i have require whole 'fs' module otherwise, changing permissions. lot of overhead?

grunt.file.copy not provide option that, unfortunately.

but grunt copy task (from grunt-contrib-copy) has option (options.mode, see https://github.com/gruntjs/grunt-contrib-copy#mode).


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -