praveenvijayan / grunt-html-validation

W3C html validaton grunt plugin. Validate all files in a directory automatically.
MIT License
75 stars 39 forks source link

Task is not aborted when errors occurs / Sound notification #69

Open nunoarruda opened 9 years ago

nunoarruda commented 9 years ago

I'm on a mac and I find it very useful when I get a sound notification from the terminal when a warning/error occurs because I'm not always looking at the terminal or it is minimised. For example Sass: screen shot 2014-12-11 at 02 41 31 That doesn't happen with this plugin when I have a validation error... screen shot 2014-12-11 at 02 42 19 ...and you can see that the task is not aborted which I think that's why there's no sound notification.

Here's my Grunt setup:

    validation: {
            options: {
                reset: true,
                stoponerror: true,
                failHard: true
            },
            files: {
                src: ['dev/{,*/}*.html']
            }
        }

So is there something wrong with my setup? Or is this an issue with the plugin?