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

When using pinia-plugin-persistedstate, Pinia cannot hot reload #372

Open
4 of 5 tasks
Ena-Heleneto opened this issue Jan 22, 2025 · 1 comment
Open
4 of 5 tasks
Labels
🔍️ pending triage This issue needs to be looked into

Comments

@Ena-Heleneto
Copy link

Are you using Nuxt?

  • Check this box if you encountered the issue using Nuxt and the included module.

Describe the bug

I am using the Vue Vitesse template, and when I try to persist my store with pinia-plugin-persistedstate, it loses its hot reloading functionality. I'm not sure what is happening.

Reproduction

https://stackblitz.com/~/github.com/Ena-Heleneto/Ena-Pinia-Issue

System Info

System:
    OS: Windows 11 10.0.26100
    CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz
    Memory: 2.68 GB / 15.80 GB
  Binaries:
    Node: 22.12.0 - ~\AppData\Local\Volta\tools\image\node\22.12.0\node.EXE
    Yarn: 1.22.19 - ~\AppData\Local\Volta\tools\image\yarn\1.22.19\bin\yarn.CMD
    npm: 10.9.0 - ~\AppData\Local\Volta\tools\image\node\22.12.0\npm.CMD
    pnpm: 9.15.0 - C:\Program Files\Volta\pnpm.EXE
  Browsers:
    Edge: Chromium (131.0.2903.112)
    Internet Explorer: 11.0.26100.1882

Used Package Manager

pnpm

Validations

@Ena-Heleneto Ena-Heleneto added the 🔍️ pending triage This issue needs to be looked into label Jan 22, 2025
@Ena-Heleneto
Copy link
Author

Ena-Heleneto commented Jan 22, 2025

Additional note: To reproduce the issue, you can modify the /src/store/test.ts file during project startup to verify the hot reload effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔍️ pending triage This issue needs to be looked into
Projects
None yet
Development

No branches or pull requests

1 participant