Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: Replace glob anymatch & custom directory walk #118

Merged
merged 9 commits into from
Jan 3, 2023
Merged

Conversation

phated
Copy link
Member

@phated phated commented Nov 21, 2022

Work-in-progress to replace our usage of glob with walkdir + anymatch. I'll be swapping out the walkdir for a custom fork and I'm still fixing bugs in to-absolute-glob.

The general idea here is to make glob-stream globbing work as close to chokidar as we possibly can. Using multiple globbing libraries has produced way too many edge cases between our various APIs (I think I counted 6 opened currently).

As of PR #115, we no longer support ordered globs. We were probably the only tool that has done this and it just adds to our headaches. If users want ordered globs, they can use ordered-read-streams to combine gulp.src calls. This means that we'll only be generating a single stream from glob-stream (and thus only do 1 filesystem walk).

closes #111

@phated phated changed the title feat!: Replace glob with walkdir & anymatch feat!: Replace glob anymatch & custom directory walk Nov 23, 2022
@phated phated marked this pull request as ready for review January 3, 2023 23:26
@phated
Copy link
Member Author

phated commented Jan 3, 2023

I had to fork to-absolute-glob and release our own version to move this along, but I think it is ready now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate fast-glob
1 participant