I have a gulp task where i copy all .html files from a dir and creates the a template.js using 'gulp-angular-templatecache'.
gulp.task('createtemplates', function () {
return gulp.src('app/views/*.html')
.pipe(templateCache())
.pipe(gulp.dest('app/JS'));
})
I also have a another folder app/overwrites. This also contains .html files but these are duplicates as they also exists in app/views so i want to skip only those htmls in gulp.src which exist in app/overwrites and pick these from app/overwrites.
e.g. I have a.html, b.html and c.html in app/views and c.html also exist in app/overwrites. So i would need to pick up c.html from app/overwrites instead of app/views.