Angular 19.1.3 Component HMR + TailwindCSS Problem - Not HMR but destructive refresh #29440
Labels
angular/build:application
area: @angular/build
devkit/build-angular:dev-server
freq1: low
Only reported by a handful of users who observe it rarely
severity2: inconvenient
type: bug/fix
Command
serve
Is this a regression?
The previous version in which this bug was not present was
No response
Description
When developing with HMR enabled, changing a TailwindCSS class in the template would trigger a destructive reload, not HMR. Changing styles in component TS files or commenting out / adding template chunks seems to work fine.
HMR.+.TailwindCSS.Issue.-.1.mp4
Minimal Reproduction
A small (probably not minimal) reproduction: https://github.com/HymanZHAN/todo-mvc-angular
Exception or Error
Your Environment
Anything else relevant?
The todo app is zoneless.
The text was updated successfully, but these errors were encountered: