I've follow README.md's guide to setup my project like reproduction section.
And I put locale files to src/locales/en.json, i18n works fine but dev server will refresh page everytime when I update the json file.
And I got output like this:
11:39:17 AM [vite] page reload src/locales/en.json
It looks like this is blocked by Vite issue #12912. If the code that was reverted as part of the PR referenced in the ticket is re-applied, then virtual module updates can be accepted, including the @intlify/unplugin-vue-i18n/messages virtual module
Reporting a bug?
Using
"@intlify/unplugin-vue-i18n": "^1.2.0"
I've follow README.md's guide to setup my project like reproduction section. And I put locale files to
src/locales/en.json
, i18n works fine but dev server will refresh page everytime when I update the json file. And I got output like this:Is my setting wrong? Thanks for help!
Expected behavior
When I saving only the text section update.
Reproduction
Issue Package
unplugin-vue-i18n
System Info
Screenshot
No response
Additional context
No response
Validations