Closed salc closed 2 years ago
I resolved it adding async in front of the function and there's no need to use .sync()
async function css_sass() {
return gulp.src('src/sass/my.scss')
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest('src/css'));
}
I'm having problems with gulp-sass on gulp latest version. Does anyone have a solution?
package.json
gulpfile.js
I also tried sass without using sync()
execution
C:\wamp64\www\myproject>gulp sass [12:12:52] Using gulpfile C:\wamp64\www\myproject\gulpfile.js [12:12:52] Starting 'sass'... [12:12:52] The following tasks did not complete: sass [12:12:52] Did you forget to signal async completion?