Skip to main content

ness dev

Starts the Vite development server with HMR and hot route-data revalidation.

ness dev [options]
OptionDescription
--host <host>Bind to a hostname or network interface
--port <port>Preferred development port
--open [path]Open the browser, optionally at a specific route
--mode <mode>Select a Vite environment mode
--forceRebuild optimized dependencies
--strict-portFail instead of selecting another port
ness dev --host 0.0.0.0 --port 3000 --open
ness dev --mode staging --strict-port

Environment files are loaded using the selected mode. Route types and the route manifest are refreshed as application files change.