-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Labels
Description
When I use the same replace
in two pipes, one of the two pipes seemst to fail.
I try something like this:
var replace = require('gulp-replace');
var replaceStuff = replace(/foo/, function (match) {
// ... do stuff...
return 'bar';
});
return gulp.src('path')
.pipe(replaceStuff)
.pipe(gulp.dest('dest'));
return gulp.src('other/path')
.pipe(replaceStuff)
.pipe(gulp.dest('other/dest'));
Is this a bug or am I overlooking something?