ness dev
Starts the Vite development server with HMR and hot route-data revalidation.
ness dev [options]
| Option | Description |
|---|---|
--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 |
--force | Rebuild optimized dependencies |
--strict-port | Fail 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.