Closed
Description
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
Labels
No labels