Just like gulp dest but supports multiple output paths
npm install gulp-multi-dest --save-dev
var gulp = require('gulp');
var multiDest = require('gulp-multi-dest');
var destOptions = {
mode: 0755
};
gulp.task('copy', function() {
return gulp.src('./js/*.js')
.pipe(multiDest(['./dist1/js', './dist2/js'], destOptions));
});
To start the tests run npm install
and then npm run test
.