ehynds / grunt-image-embed

A grunt task for converting images inside a stylesheet to base64-encoded data URI strings.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Task hangs when source files can't be found

RobbinHabermehl opened this issue · comments

I'm using version 0.3.1 of "grunt-image-embed" and configured the task as follows:

imageEmbed: {
    dev: {
        dest: 'app/css/',
        expand: true,
        flatten: true,
        src: 'app/css/**/*.css'
    }
}

In case no stylesheets are found based upon the "src" mapping, the task will run infinitely.

Just clear the CSS folder in order to reproduce this issue.

#36 looks like a fix

yeah. fixed via #36

@ehynds Could I kindly ask you to deploy NPM package, so that we would fix our project build process?

@vectart all set!

@ehynds thank you very much!