gulp-create-custom-dir
Gulp extension to create recursive directories and you can specify the group and user (1000:1000) if the specified folder exist just applied the permissions.
Create directories as a 'root' user:
var gulp = createRecursiveDir = ; gulp;
Or
Specify the group and user:
var gulp = createRecursiveDir = ; gulp;
Also
Receive on 'chunk.__folderPath' parameter the created folder name:
var gulp = createRecursiveDir = through = ; gulp;