intlify / bundle-tools

bundling for intlify i18n tools
MIT License
232 stars 37 forks source link

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

Open romanhrynevych opened 5 days ago

romanhrynevych commented 5 days ago

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