intlify / intlify/bundle-tools

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

Open
#386 2 comments 2 reactions 0 assignees View on GitHub
status: review needed
Dominant language
TypeScript
Stars
270
Forks
46
PR merge metrics
No merged PRs in 30d

Description

### 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

```shell
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

- [X] Read the [Contributing Guidelines](https://github.com/intlify/bundle-tools/blob/main/.github/contributing.md).
- [X] Read the README
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/intlify/bundle-tools/discussions).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.