Docs hot reload restarting server for infinity
Open
Nobody has claimed this yet.
upstream
- Dominant language
- TypeScript
- Stars
- 10.5k
- Forks
- 564
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
On docs:dev script, i have:
After any change on config.ts
Reproduction
- Run
docs:dev - Make any change for
config.tsof.vitepress
Steps to reproduce
No response
System Info
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
- Read the Contributing Guidelines.
- Read the docs.
- 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 or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report points to docs/.vitepress/config.ts and the docs:dev script. Start by reproducing the restart loop after changing config.ts, then trace the dev-server behavior around that configuration. Done means a config change reloads the docs without repeatedly restarting the server.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100