nuxt-modules / i18n

I18n module for Nuxt
https://i18n.nuxtjs.org
MIT License
1.76k stars 484 forks source link

Locale message files not watched when combining `compatibilityVersion: 4` and `restructureDir` #3221

Closed BobbieGoede closed 1 week ago

BobbieGoede commented 2 weeks ago

Environment

-

Reproduction

TODO

Describe the bug

Since the locale files are no longer within the srcDir when using both compatibilityVersion: 4 and restructureDir these are no longer watched which mean the type template is not updated on change.

I'm guessing we need set up our own watcher to trigger the update.

Additional context

No response

Logs

BobbieGoede commented 1 week ago

Resolved by #3224