Closed proton-ab closed 7 months ago
@proton-ab can you try out 8.0.2 and open more concise issues for anything that still has problems? Thanks 🙏
Will try in a moment and report back.
I still need to look into https://github.com/gulpjs/glob-stream/issues/128 because the issue isn't clear on what paths don't work, as the only error seems to indicate an absolute path outside of the cwd.
Sorry, I had to redact path in the first error message and might've caused confusion. I've adjusted it to be a absolute path as that seems to be what error message always produces. cwd
of gulp
in this case is /code
. Assuming that you no longer walk entire cwd
tree then this should be resolved as Gulpfile only globs on /code/assets/**
.
Can confirm v8.0.2 is not susceptible to any of the two edge cases from the issue. Thank you for quick fix.
Before you open this issue, please complete the following tasks:
What were you expecting to happen?
Gulp.src
works as it did previously in v4, ignoring directories and files outside of scope of patterns provided. No error is raised.What actually happened?
Gulp.src
scans entire directory tree and fails on at least these cases:Please give us a sample of your gulpfile
Terminal output / screenshots
Please provide the following information:
node -v
): v18.20.1npm -v
): 10.5.0gulp -v
): 5.0.0 (CLI 3.0.0)Additional information
The first terminal output is result of running
composer
in parallel withgulp
. Second one is result of placing broken link in directory tree (the link becomes valid later on, but is not at the timegulp
is being run). The issue seems related to https://github.com/gulpjs/glob-stream/issues/129 but is different enough that I believe it warrants raising separate issue.