Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[HMR] The following modules couldn't be hot updated: (Full reload needed) - ./assets/css/tailwind.css #368

Closed
fabis94 opened this issue Jul 5, 2021 · 4 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@fabis94
Copy link

fabis94 commented Jul 5, 2021

image

For some reason Nuxt/Webpack triggers a full page reload because of it not being able to hot reload tailwind.css. The weird thing here is that i'm not even changing anything inside tailwind.css, I'm changing a .vue component.

Version

@nuxtjs/tailwindcss: 4.2.0
nuxt: 2.15.7

Steps to reproduce

No special config, this just seems to happen with the latest version of nuxt and this package

What is Expected?

Hot reload should work without reloading the page

What is actually happening?

An edit in a .vue file for some reason causes a hot reload of tailwind.css to fail

@fabis94 fabis94 added the bug Something isn't working label Jul 5, 2021
@fabis94 fabis94 changed the title HMR] The following modules couldn't be hot updated: (Full reload needed) - ./assets/css/tailwind.css [HMR] The following modules couldn't be hot updated: (Full reload needed) - ./assets/css/tailwind.css Jul 5, 2021
@fabis94
Copy link
Author

fabis94 commented Jul 5, 2021

Ok this is likely a duplicate of #357

@productdevbook
Copy link

apply this solution for now. ->
Check detail ...
tailwindlabs/tailwindcss#4962 (comment)

Check example setup
https://github.com/bradlc/jit-nuxt

@stale
Copy link

stale bot commented Jan 8, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

1 similar comment
@stale
Copy link

stale bot commented Mar 30, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Mar 30, 2022
@stale stale bot closed this as completed Apr 16, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants