【发布时间】:2015-03-27 12:30:07
【问题描述】:
我想在 gulp 中为我的构建进行语音控制/反馈/响应。我在下面写了这样的东西,但它不起作用。 有人知道如何解决吗? :)
它抛出this error。
// 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
})
【问题讨论】:
-
去掉
.pipe(gutil.beep())还能用吗? -
构建工作正常,但我想在构建完成后发出“哔”声。
-
你有什么版本的
gulp-util?根据this,beep()在某个时候被删除了。
标签: javascript gulp response feedback beep