P
P
pegas2020-02-09 22:33:30
gulp.js
pegas, 2020-02-09 22:33:30

How to run a task first?

There is a task:
gulp.task('build', gulp.parallel('prettier', 'webpack', 'eslint', 'csso', 'postcss', 'icons', 'nunjucks', 'images'));

It runs all tasks in parallel/simultaneously. How to make it so that the very first one processes prettier and after it, the rest are already launched in parallel? i.e. the rest wait until prettier is completed and only then start to execute simultaneously.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question