Skip to content

dev

Start development server at entrypoint.

If an entrypoint is not provided, Frog looks for an entrypoint at (src|api)/index.{js,jsx,ts,tsx}. If no entrypoint is found, the devtools will start in standalone mode.

Usage

frog dev [entrypoint]

Args

path

string

Path to Frog entrypoint. Defaults to (src|api)/index.{js,jsx,ts,tsx}.

frog dev src/frog.tsx

options

-h, --host

boolean

Expose host URL.

frog dev --host

-p, --port

number

Port used by the server. Defaults to 5173.

frog dev --port 3001

--ui

boolean

Runs standalone devtools.

frog dev --ui