After applying `gulp-filter@4.0.0`, following pipes not working
See original GitHub issueHello, after applying gulp-filter@4.0.0
, following plugin like vinyl-map
- not working, in older version work fine.
Thanks
Example
var stream = gulp.src(files)
.pipe(gulp.dest(path))
.on('error', plugins.util.log)
.pipe(plugins.filter('*.css'))
.pipe(map(function (code, filename) {
plugins.util.log('CSS ' +
plugins.util.colors.green(filename))
}))
.pipe(browserSync.reload({ stream: true }))
return stream
Issue Analytics
- State:
- Created 8 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
How to use in combination with gulp-sass · Issue #8 - GitHub
I've had all the various sourcemap problems reported when trying to use gulp-sass, gulp-sourcemap and gulp-autoprefixer.
Read more >How can I integrate Bower with Gulp.js? - Stack Overflow
First gulpFilter.restore is not a function, and secondly if you plan on restoring the filtered files you need to pass {restore: true} when...
Read more >gulp-scss-lint/README.md - UNPKG
If you want the task to fail when "scss-lint" was not a success then call `failReporter` after the scsslint call. 274.
Read more >gulp-scss-lint - npm Package Health Analysis - Snyk
Ensure you're using the healthiest npm packages. Snyk scans all the packages in your projects for vulnerabilities and provides automated fix advice.
Read more >Page 12 – Angular, PWA, C#, ASP.NET, Node.js, Docker ...
Avoid memory leaks when subscribing to RxJS Observables in Angular ... Hell yeah, but we've got a small problem: the application has to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just want to chime in and say that gulp-filter@4.0.0 is not working for me. Whether
*.css
or**/*.css
is used as a filter expression, zero files after the filter. With ^3.0.1 it’s working, no other changes to the code. Mac OS 10.10, node 5.8.0.I hadn’t done any change to my code, just upgrade gulp-filter from 3 -> 4 I was doing
Had to change it to
**/*.js
and it worked