diff --git a/src/module.ts b/src/module.ts index ed153402..98e68e3e 100644 --- a/src/module.ts +++ b/src/module.ts @@ -249,7 +249,7 @@ export default defineNuxtModule({ nuxt.callHook('restart') } - const watcher = watch(translationPath, { depth: 1, persistent: true }).on('change', watcherEvent) + const watcher = watch(translationPath, { depth: 2, persistent: true }).on('change', watcherEvent) nuxt.hook('close', () => { watcher.close()