Skip to content

Unplugin-vue-i18n don't watch for files changes #386

@hrynevychroman

Description

@hrynevychroman

Reporting a bug?

When adding some new keys to locales need to rerun dev script

Expected behavior

Watchers for locales

Reproduction

Here is my setup inside monorepo based on turborepo:

vite.config.ts
image

packages/core/i18n/
image

Don't know why this happen 🤷‍♂️

Issue Package

unplugin-vue-i18n

System Info

System:
    OS: macOS 14.5
    CPU: (12) arm64 Apple M2 Pro
    Memory: 73.89 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.14.0 - ~/.nvm/versions/node/v20.14.0/bin/node
    npm: 10.7.0 - ~/.nvm/versions/node/v20.14.0/bin/npm
    pnpm: 9.4.0 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 126.0.6478.127
    Safari: 17.5
  npmPackages:
    vite: ^5.3.2 => 5.3.2 
    vue: 3.4.30 => 3.4.30 
    vue-i18n: 9.13.1 => 9.13.1

Screenshot

No response

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Read the README
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A open a GitHub Discussion.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions