dwightjack/grunt-email-boilerplate

Test task error

Closed this issue · 2 comments

Test task sometimes fails at img:dist

Trace:

Running "clean:dist" (clean) task
Folder "dist20130215" contents removed.

Running "img:dist" (img) task

** Processing: src/images/cornicebottom.jpg
Output file: dist20130215/images/cornicebottom.jpg
Uncompressed size: 6695 bytes.
Compressed size: 6669 bytes minified.

stream.js:81
      throw er; // Unhandled stream error in pipe.
            ^
Error: EIO, open 'dist20130215/images/cornicebottom.jpg'

It could be a problem in the clean task: when another process or program blocks a file/folder (like having it opened in explorer) it's unable to delete it and yet it's not failing...

The 0.1.4 version is online with an update contrib-clean task, hope it solved the problem. Still, if an another process is locking the folder, some problems may arise.

Please, reopen if you're still experiencing this issue.