tschaub / grunt-newer

Configure Grunt tasks to run with newer files only.
https://npmjs.org/package/grunt-newer
MIT License
944 stars 53 forks source link

Plugin don't see the New files for - "Tasks that specify only "src" files" #58

Closed trikon closed 6 years ago

trikon commented 9 years ago
imagemin: {
        all: {
            files: [{
                expand: true,
                cwd: 'images/',
                src: '**/*.{gif,png,jpg,jpeg}',
                dest: 'images/'
            }]
        }
    }

After first run(when the cache has been created), the grunt-newer don't see NEW added images in images/ folder:). It sees only changed images... I have such feeling that the plugin is do not stores src's folder files list in plugin's cache...

trikon commented 9 years ago

Duplicate of issue #40

tschaub commented 9 years ago

Please report the output from grunt --verbose imagemin and grunt --verbose newer:imagemin.