I am trying to copy selected files from my home directory using Gulp but the following does not do it:
var files = ['one', 'two'];
gulp.task('collect', function(){
return gulp.src(files, {base: '~/'})
.pipe(gulp.dest('.'));
});
What is the correct setting for the base to make it work?
The Docs is very terse on this.
{base: '.'}, thats what I use - harishr