GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Guide
  • Changelog
  • 简体中文

This view

  • Original page
  • New address

GeezerVison is showing rstack.rs — dev - Rstack CLI

#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

rs dev [options]

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:

# Start the server and open the page in the browser
rs dev --open

# Use port 8080 and fail if it is already in use
rs dev --port 8080 --strict-port

# Make the server available on the local network
rs dev --host

#Configuration

Configure the development server through define.app() in the Rstack configuration file. It accepts the standard Rsbuild configuration:

rstack.config.ts
import { define } from 'rstack';

define.app({
  server: {
    open: true,
    port: 8080,
  },
});
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.