The issue has been solved
hi,
it seems that currently gulp-filter does not support filtering files with paths outside of the folder the gulp.task is running in.
if the current behavior is desired an options to allow other paths as well would be nice (as done by del package for example).
thanks & regards,
Marcel

posted by sindresorhus over 7 years ago 
thanks a lot for the quick response. I'm going to have a look at your tests.
I am not sure if this is relevant: I am doing this in a multi-root workspace in VS Code and I am referencing folders in another root folder ("./../otherRoot/test")
But for gulp-filter these are all probably just path strings(?)
posted by marcelh-gh over 7 years ago
seems you can do
(1) gulp.src("A/B/**/*.*").pipe(filter("A/B/**/*.xx")
but you can't do
(2) gup.src("../A/B/**/*.*").pipe(filter("../A/B/**/*.xx")
it just returns 0 files. no error message
case (2) only works if ".." is replaced with "**" within the filter
posted by marcelh-gh over 7 years ago
posted by IssueHuntBot almost 6 years ago 
posted by issuehunt-app[bot] almost 4 years ago