in the snippet like this:
gulp.task \"coffee\", -> gulp.src(\"src/server/**/*.coffee\") .pipe(coffee {bare: true}).on(\"error\",gutil.log)
To wait and see if the task is finished and then the rest, I have it this way:
gulp.task('default', gulp.series('set_env', gulp.parallel('build_scss', 'minify_js', 'minify_ts', 'minify_html', 'browser_sync_func', 'watch'), function () { }));
Kudos: https://fettblog.eu/gulp-4-parallel-and-series/