Skip to content

fix(lib): restart on config changes - #360

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-lib-config-watch
Aug 14, 2026
Merged

fix(lib): restart on config changes#360
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-lib-config-watch

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Summary

rs lib --watch and rs lib mf-dev currently watch Rstack's internal proxy config, so changes to rstack.config.* or its imported dependencies do not restart Rslib. This PR forwards the real config file and dependencies through dev.watchFiles while preserving user-defined watchers, and adds isolated regression coverage for main and imported config changes.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5061b37
Status: ✅  Deploy successful!
Preview URL: https://518415d6.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-fix-lib-config-wa.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit 78972cb into main Aug 14, 2026
5 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/fix-lib-config-watch branch August 14, 2026 05:34
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