You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the --watch command, it does not rebuild when the input file string has casing that is different than the actual casing. So, case insensitivity of windows paths is being only partially honored. Feels like it would be fine if this generated an error, but it appearing to build but failing was pretty confusing.
This has paths with the correct casing. Works as expected npx tailwindcss -i ./styles/site.css -o ./build/output.css --watch
When there are casing issues, including the examples below, the output is generated once. File changes still lead to Done in ##ms messages, even when the input with the casing issue is what changed. However, output never changes after the initial run.
Activity
aakash-env commentedon Jun 3, 2025
@Siphonophora kindly assign this issue to me.
Siphonophora commentedon Jun 27, 2025
@aakashsharma7 I don't think I have the rights to do that in this project
aakash-env commentedon Jul 12, 2025
@Siphonophora so who have right for this?
fix(cli): use case-insensitive path comparison on Windows in watch mode
mvanhorn commentedon Mar 10, 2026
I've submitted a fix for this in PR #19774. Adds case-insensitive path comparison on Windows for the watch mode rebuild triggers.
khalidsaidi commentedon Mar 25, 2026