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

fix: adds ENOENT for non windows platforms in LinkResolver. #188

Merged
merged 1 commit into from
Feb 7, 2021

Conversation

Aghassi
Copy link
Contributor

@Aghassi Aghassi commented Feb 4, 2021

Solves for use case where Webpack is running under Bazel
with iBazel. Heavily relies on symlinks set up in a certain way.

Essentially we don't want Webpack to follow symlinks, but we do want the watcher
to follow symlinks. In that setup, it causes an ENOENT which does not fall through in
watchpack under darwin as the platform (or linux for that matter). This fixes that case.

See bazelbuild/rules_nodejs#2431

CC @sokra @gregmagolan @mrmeku

Copy link
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is possible to test?

@Aghassi
Copy link
Contributor Author

Aghassi commented Feb 5, 2021

Sure thing, let me dig into the tests today and see where I can add a test for this

Solves for use case where Webpack is running under Bazel
with iBazel. Heavily relies on symlinks set up in a certain way See bazelbuild/rules_nodejs#2431
@sokra sokra merged commit cbfc11a into webpack:master Feb 7, 2021
@sokra
Copy link
Member

sokra commented Feb 7, 2021

Thanks

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.

None yet

3 participants