vitepress icon indicating copy to clipboard operation
vitepress copied to clipboard

Support hot reload by watching files not under docs

Open litingyes opened this issue 1 year ago • 1 comments
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

litingyes avatar Sep 21 '24 12:09 litingyes

Can you show what's your project structure like? I think this is already configurable via vite options.

brc-dd avatar Oct 12 '24 20:10 brc-dd