T
T
ttm2016-02-17 14:10:52
gulp.js
ttm, 2016-02-17 14:10:52

How to wait for all the files, manipulate them, run them back one by one?

gulp.scr(["js/*.html"])
.pipe(myModule("template.html"))
.pipe(gulp.dest("public"))

How to wait for all the files in myModule to change them and start again one by one as gulp.src
(this is the old assembler that moves to gulp, each file stores data for the heat, therefore, in order to form them normally, you need all the files at the same time)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Makarov, 2016-02-17
@TouchTheMind

create 2 tasks so that one is a dependency of the other.

gulp.task('taskName', [taskWhichShouldDoneBefore], function() {
 });

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question