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
{{ message }}
Repository navigation
Content configuration does not support exclude #8828
make a change in the spec file (src/app/app.component.spec.ts)
you will see that the angular recompiles
Note when I changed content to [], meaning it should not detect any files, changes to the spec files, does not cause a recompile.
Thus I think the issue is with tailwind (or possibly upstream lib), rather than on Angular
Describe your issue
Using exclusion glob, I would expect changes in excluded files to not cause a rebuild.
Unfortunately this is an issue with Angular's use of webpack as it only supports watching directories. We pass through a glob but it gets turned into a directory to be watched by webpack. I gave a bit more detailed response (including possible alternatives) in this issue about Gatsby — which also uses wepback: #8477 (comment)
Apologies we can't do more about this but it's a tooling limitation outside our control.
Activity
cheng93 commentedon Jul 11, 2022
#5198
I tried the solution described above (also in the repository), and it did not work as well
thecrypticace commentedon Jul 11, 2022
Unfortunately this is an issue with Angular's use of webpack as it only supports watching directories. We pass through a glob but it gets turned into a directory to be watched by webpack. I gave a bit more detailed response (including possible alternatives) in this issue about Gatsby — which also uses wepback: #8477 (comment)
Apologies we can't do more about this but it's a tooling limitation outside our control.