Docs hot reload restarting server for infinity
upstream
### Describe the bug
On `docs:dev` script, i have:
<img width="661" height="131" alt="Image" src="https://github.com/user-attachments/assets/303f8dd8-e541-46fb-9c1c-a9af7af1623e" />
After any change on [config.ts](https://github.com/wxt-dev/wxt/blob/main/docs/.vitepress/config.ts)
### Reproduction
1. Run `docs:dev`
2. Make any change for `config.ts` of `.vitepress`
### Steps to reproduce
_No response_
### System Info
```shell
System:
OS: Windows 11 10.0.26200
CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
Memory: 17.20 GB / 31.91 GB
Binaries:
Node: 25.6.1 - C:\Program Files\nodejs\node.EXE
npm: 11.14.0 - C:\Program Files\nodejs\npm.CMD
pnpm: 10.33.0 - C:\Users\pkuni\AppData\Local\pnpm\pnpm.CMD
bun: 1.3.12 - C:\Users\pkuni\.bun\bin\bun.EXE
Browsers:
Chrome: 147.0.7727.139
Edge: Chromium (140.0.3485.54)
Firefox: 149.0.2 - C:\Program Files\Mozilla Firefox\firefox.exe
Internet Explorer: 11.0.26100.8115
```
### Used Package Manager
bun
### Validations
- [x] Read the [Contributing Guidelines](https://github.com/wxt-dev/wxt/blob/main/CONTRIBUTING.md).
- [x] Read the [docs](https://wxt.dev/guide/installation.html).
- [x] Check that there isn't [already an issue](https://github.com/wxt-dev/wxt/issues) 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/wxt-dev/wxt/discussions) or join our [Discord Chat Server](https://discord.gg/ZFsZqGery9).
- [x] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
2 条评论