Answer the question
In order to leave comments, you need to log in
How to make tasks run sequentially on Elixir in Laravel?
There are three tasks, two of them can be executed asynchronously, but the third must be executed after two. How to do it using Elixir (a gimmick wrapper for Gulp that communicates with Larvel)
Using the construct:
elixir.extend('task1.2.3', function() {
new Task('task1.2.3', function() {
// ....
})
.watch('./');
});
elixir(function(mix) {
mix.task1();
//... и след таски
});
gulp.task('task1'....)
gulp.task('task2'....)
elixir.extend('task1.2.3', ['task1', 'task2'], function() {
new Task(...)
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question