Gulp — can't complete tasks sequentially. What could be the error?

1. To make the Assembly in the build folder
2. To copy some files from the build to the specified folder.

When you run these tasks on the queue manually - everything works
gulp build
gulp copy

When I try to run consistently - the copy is not performed.
const runSequence = require("run-sequence");
gulp.task('default', function(cb) {
 return runSequence(

What could be the reason? What can help?
June 10th 19 at 15:51
1 answer
June 10th 19 at 15:53
in her build, and copy a must do return. It indicates that the task is ended (returns Promise) and it is possible to simultaneously perform the following

And all her Feng Shui have to do return
gulp.task('copy', function () {
 return gulp.src('src/**/*.*')
Thank you, kind person :) - Rosalinda commented on June 10th 19 at 15:56
himself once on such rake came across) - dayne.Berge commented on June 10th 19 at 15:59

Find more questions by tags Assembling projectsGulp.jsNode.js