-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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: scan entries when the root is in node_modules #15746
Conversation
|
I think we could merge this PR. We should do the same for I'd like to see what other maintainers think about this too. Because even if your reproduction is working after this change, it may later fail unexpectedly because as I commented here, our current There is also a higher level discussion about the extra complexity we are introducing to support apps inside |
@patak-dev thanks for the information. Ya, I agree in a larger picture there might be somewhere else I'm not familiar with having the similar potential ones. On Bit's side, in short term, I'm afraid it's hard to change since the concept of Bit is that everything runs as a package, so inevitably the runtime happens in a node_modules directory. For other libs/plugins in the ecosystem, we also did some related work. By far, this issue is the last one. 😅 In the long-term, I'd like to bring this topic to the team. /cc @GiladShoham Thanks. |
23507bc
to
19e8ecf
Compare
@patak-dev I've updated the code to cover other ignored patterns in However, I met a CI error on Windows said 🙏 |
Don't worry about Windows, it seems it is failing across the board. I think we could merge this one, but explicitly stating that what you are doing isn't supported. Let's wait for @bluwy that said wanted to take a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me 👍 I thought this was touching the watcher ignores, which I'll have more reservations of if so, but since this is only for the entries, it looks like a good change for now.
Thanks so much both. So I guess we can merge this without the Windows CI pass? 🤔 |
There is an issue with playwright across the board, I'll merge this one without that test. Thanks for the patience @Jinjiang! |
Description
Fixed optimizer entries in the case the root is in node_modules
Additional context
#15613 (reply in thread)
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).