vitepress
vitepress copied to clipboard
Support hot reload by watching files not under docs
trafficstars
Is your feature request related to a problem? Please describe.
In the monorepo development mode, sometimes the rendering in docs depends on the code in another repository, so when the code in another repository changes, it is expected to trigger a hot reload of docs
Describe the solution you'd like
Support configuration to watch specified folders to trigger hot reload
Describe alternatives you've considered
No response
Additional context
No response
Validations
- [X] Follow our Code of Conduct
- [X] Read the docs.
- [X] Read the Contributing Guidelines.
- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.
Can you show what's your project structure like? I think this is already configurable via vite options.