Skip to content

By what should I replace gulp.run ? #458

Closed
@edi9999

Description

@edi9999

Hi I have the following tasks:

gulp.task('watch', function () {
    gulp.src(paths.coffee)
        .pipe(watch(function(files) {
            var f=files.pipe(coffee())
                .pipe(gulp.dest(paths.js))
            gulp.run('jasmine');
            gulp.run('livereload');
            return f;
        }));
    gulp.src(paths.stylus)
        .pipe(watch(function(files){
            var f=gulp.src(paths.mainStylus)
                .pipe(stylus())
            f
                .pipe(gulp.dest(paths.css))
            gulp.run('livereload');
            return f;
        }))
});
gulp.task('livereload',function(cb)
        {
            server.changed('SpecRunner.html');
            cb()
        })

gulp.task('jasmine', function(cb) {
...
});

How should I in that sample, replace the run method which is currently deprecated ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions