Skip to content

fix(doc): restart dev server on config changes - #358

Merged
chenjiahan merged 3 commits into
mainfrom
chenjiahan/fix-doc-config-watch
Aug 14, 2026
Merged

fix(doc): restart dev server on config changes#358
chenjiahan merged 3 commits into
mainfrom
chenjiahan/fix-doc-config-watch

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Summary

rs doc did not restart when the project's rstack.config.* or one of its imported dependencies changed because the Rspress adapter discarded the resolved config file metadata. This PR forwards those paths through builderConfig.dev.watchFiles with restart behavior while preserving user-defined watchers, and adds regression coverage for config, dependency, and custom watch changes.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 14, 2026

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: b6eb526
Status: ✅  Deploy successful!
Preview URL: https://a597e454.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-fix-doc-config-wa.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit ae32c79 into main Aug 14, 2026
5 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/fix-doc-config-watch branch August 14, 2026 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant