Skip to content
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

Hot Reload broken in Next.JS starter template #1693

Open
thinkingofmaud opened this issue Feb 1, 2025 · 1 comment
Open

Hot Reload broken in Next.JS starter template #1693

thinkingofmaud opened this issue Feb 1, 2025 · 1 comment
Labels
bug Something isn't working plugin/integration Integrating Civet with other tools

Comments

@thinkingofmaud
Copy link

thinkingofmaud commented Feb 1, 2025

Unplugin works fine for building, but when you run next on dev mode it will not hot reload modules as expected.

Got it working by disabling plugin cache, passing {cache: false} to civetWebpackPlugin.

The cache implementation seems fine

@edemaine edemaine added bug Something isn't working plugin/integration Integrating Civet with other tools labels Feb 24, 2025
@edemaine
Copy link
Collaborator

I tested integration/unplugin-examples/nextjs and it supported HMR fine when editing about.civet. Could you be more specific about what's not working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plugin/integration Integrating Civet with other tools
Projects
None yet
Development

No branches or pull requests

2 participants