gulp-evil-icons
gulp-evil-icons copied to clipboard
Duplicate files
I have simple task (coffeescript):
gulp.task 'views:cache', ->
gulp.src config.resources.view + '/ng/**/*.html'
.pipe debug(title: 'before')
.pipe evilIcons()
.pipe debug(title: 'after')
.pipe viewCache({root:'/views/', module: 'app'})
.pipe gulp.dest(config.public.app)
Before i have 3 files, after 6. Then angular template cache have duplicates in template.js file.
$templateCache.put("/views/modals/departments.html" ...
$templateCache.put("/views/modals/departments.html" ...
If i remove this.push(file); on gulp-evil-icon/index.js, all work as expected.
Can you fix that?