Text To Speech errors for gulp.
If you are tired to switch to the terminal to see error details, or visual notifications annoys you, well, try our new assistant here.
gulp-say
will try to parse any gulp
error and read it to you using your system Text To Speech
engine.
Windows is not supported yet. Any pull request is welcomed.
npm install --save-dev gulp-say
const say = require('gulp-say');
gulp.task('copy', () => {
return gulp.src('./assets/**')
.on('error', say({ voice: 'Alice' }))
.pipe(gulp.dest('dist/'));
});
The following options are available:
voice
: (string
), depending on yourtts
engine, it will use the given voice.phrase
: (function
), overrides the generated output text.speak
: (function
), overrides thetts
engine call.
MIT © Nicolas Gryman