I make a gulp assembly and got stuck on html validation. I found the w3cjs plugin and with the help of gulp-notify I would like to display the message "validation error see terminal", but I can't figure out how to do this, which event to tie.

Posted by task:

const gulp = require('gulp'); const w3cjs = require('gulp-w3cjs'); const browsersync = require('browser-sync').create(); const notify = require("gulp-notify"); gulp.task('html', function () { gulp.src('dev/*.html') .pipe(w3cjs()) .on('end', browsersync.reload); }) 

Thanks in advance

    0