Might be nice to be able to change src paths based on environment without having to .gitignore the gulpfile.js and maintain different ones in all the environments.
// .env
APP_ENV=local
// gulpfile.js
if (env(APP_ENV) == 'local') {
gulp.task('locals', function() {
return gulp.src('../[some folder name]/**/*')
.pipe(gulp.dest('[some local app path]'));
});
} else if (env(APP_ENV) == 'prod') {
gulp.task('locals', function() {
return gulp.src('../../../[some folder name]/**/*')
.pipe(gulp.dest('[some local app path]'));
});
}