Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

gulp synchronous tasks

//GULP - RUN TASKS SEQUENTIALLY
var gulp = require('gulp');
var gutil = require('gulp-util');
var runSequence = require('run-sequence');

gulp.task('some-task', function (done){
    runSequence(
        'clean',
        'build', 
        function() {
            gutil.log("the end");
            done();
        }
    );
});
 
PREVIOUS NEXT
Tagged: #gulp #synchronous #tasks
ADD COMMENT
Topic
Name
3+9 =