0

I am receiving the error message: "The following tasks did not complete: default, sass. Did you forget to signal async completion?" I am new to Gulp and trying to figure out what the mistake is. I believe it's something with my syntax, but as I am new to Gulp, I can't quite pinpoint it. Below are the contents of my gulpfile. Thank you in advance.

use strict';

var gulp = require('gulp'),
sass = require('gulp-sass'),
watch = require('gulp-watch');

gulp.task('sass', function(){
    gulp.src('./assets/sass/**/*.scss')
    .pipe(sass().on('error', sass.logError))
    .pipe(gulp.dest('../style.css'));
});


gulp.task('default', gulp.series('sass', function() { 
    return gulp.watch('./assets/sass/**/*.scss', ['sass']);
}));
Zach Peach
  • 35
  • 3
  • `return gulp.src.....` Search with that error message. – Mark Mar 11 '20 at 17:05
  • 1
    Does this answer your question? [Gulp error: The following tasks did not complete: Did you forget to signal async completion?](https://stackoverflow.com/questions/36897877/gulp-error-the-following-tasks-did-not-complete-did-you-forget-to-signal-async) – Láďa Durchánek May 16 '20 at 09:22

0 Answers0