Closed Yuriy-Svetlov closed 3 years ago
I've released v3.0.1 which uses grunt.fail.fatal
.
Is this PR still needed?
@C-Lodder
Thank you!
I am also interested in the unformatted error message.
grunt.event.emit('grunt-postcss-error', error);
But maybe should do:
if (grunt.event.emit.listeners('grunt-postcss-error').length > 0) {
grunt.event.emit('grunt-postcss-error', error);
}
@C-Lodder
Warning: grunt.event.emit.listeners is not a function
@C-Lodder
Additional information:
In your Readme.md written
This plugin requires Grunt ~1.0.3
~1.0.3 is equivalent >=1.0.3 <1.1.0
I use Grunt v1.2.0
Closing in favour of: https://github.com/C-Lodder/grunt-postcss/pull/59
grunt.event.emit('grunt-postcss-error', error);