I am trying to build my sass with gulp sass and i get the error:
The following tasks did not complete: build, gulpSass Did you forget to signal async completion?
function sass() {
return gulp.src(paths.sass)
.pipe(sourcemaps.init())
.pipe(sass.sync().on('error', sass.logError))
.pipe(sourcemaps.write())
.pipe(gulp.dest(buildDir));
}
gulp.task('build', gulp.series(
clean,
sass,
html,
images
));
What is the problem?