dev
The rs dev command starts the Rsbuild development server for an application. It compiles the source code in development mode, watches for changes, and applies hot module replacement (HMR) or reloads the page as needed.
Usage
The command loads the application configuration registered with define.app().
Options
rs dev supports the same development server options as Rsbuild. See the Rsbuild CLI documentation for details.
Examples:
Configuration
Configure the development server through define.app() in the Rstack configuration file. It accepts the standard Rsbuild configuration:
rstack.config.ts