gulp-evil-icons icon indicating copy to clipboard operation
gulp-evil-icons copied to clipboard

Duplicate files

Open rayout opened this issue 8 years ago • 2 comments

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.

rayout avatar Jun 12 '16 13:06 rayout

Can you fix that?

rayout avatar Oct 13 '16 17:10 rayout