gulpjs / gulp-util

[deprecated] - See https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
MIT License
830 stars 103 forks source link

Beep when done #91

Closed tenhobi closed 9 years ago

tenhobi commented 9 years ago

Hi, I want to make voice control for build. I wrote something like this below, but it is not working. Does anybody know how to fix it? :)

It throws this error - http://prntscr.com/6lxpzu

// Compile Sass, autoprefix properties, generate CSS.
gulp.task('sass', function () {
    return sass('src/sass/style.scss', {style: 'compressed'})
        .pipe(autoprefixer())
        .pipe(rename('style.css'))
        .pipe(gulp.dest('src/css/'))
        .pipe(gutil.beep()); // beep when build is done
});
sindresorhus commented 9 years ago

Support questions are better asked on StackOverflow: http://stackoverflow.com/questions/tagged/gulp Paste in the link to the question here so others can follow ;)

tenhobi commented 9 years ago

My question on stackoverflow - http://stackoverflow.com/questions/29300726/gulp-beep-when-done