-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Paths containing both brackets and parenthesis are not watched #12708
Comments
EDIT: Does not work when there is a star and parenthesis either:
Updated repro. |
Hey! This is expected because You have 2 options you can apply:
For the escaping part, this currently has a bug and I'm fixing that as we speak but maybe option 1 is all you need. To be continued. |
Hey ! I thought this was addressed because I saw this comment #9741 (comment). I tried to escape characters, but since it did not work I assumed it was not supported because there was some automatic escaping (that's what the above comment made me think). As you may guess, in my case I can't resort to a simpler path because I use the pattern in a next app where I need app router grouping + params. I'll keep an eye on this issue ! |
What remains unclear though is why it works without escaping in the cases where there is only one group of special characters: |
Awesome ! |
Hey! This should be fixed by #12715, and will be available in the next release. You can already try it by using the insiders build We are still making some improvements to making sure it also works on Windows as expected. But for Linux / macOS this should already work with the linked PR. Note: there is no need to escape the Your remaining question about why the combination of |
Thanks !! |
What version of Tailwind CSS are you using?
3.4.0
What build tool (or framework if it abstracts the build tool) are you using?
Bare minimum repro
What version of Node.js are you using?
18
What browser are you using?
Chrome
What operating system are you using?
macOs
Reproduction URL
https://github.com/jide/tailwind-config-path-bug/tree/main
Describe your issue
When a path contains both brackets and parenthesis, the changes are not detected.
In the example, here is the file tree:
Each file has this content:
The config:
When starting
The output is:
mr-4 is missing.
The text was updated successfully, but these errors were encountered: