hotReload
hotReload configures dev‑mode HMR behaviour for the extension: the WebSocket port used by the reload manager and whether content pages are auto‑refreshed when content scripts change.
Type and defaults
- Type:
- Defaults:
port:23333(matches coreHMR_WS_PORT)autoRefreshContentPage:true
Role
- Only used in dev (
addfox dev):portbecomes the WebSocket server port used by the HMR pluginautoRefreshContentPagecontrols whether the reload manager automatically refreshes the active tab when a content entry changes
- Has no effect on
addfox build.
Examples
Custom HMR port
Disable auto refresh for content pages
Custom port + no auto refresh
Related
launch: which browser dev mode opens (or use CLI-b/--browser).- Dev plugin @addfox/rsbuild-plugin-extension-hmr.

