Skip to main content

๐Ÿ’ป Development Scripts

npm run devโ€‹

Runs the Vite development server for the React frontend.

vite

Used when working only on the web UI.


npm run dev:allโ€‹

Runs both:

  • the Vite dev server
  • the Docusaurus documentation dev server This uses concurrently to run both commands side-by-side:
concurrently "npm run dev" "npm run docs start"

Useful when developing the app and docs at the same time.


npm run dev:debugโ€‹

Same as dev, but builds the WASM version in debug mode first:

npm run build-wasm:debug && vite

Use this when debugging C++ code.


npm run dev:all:debugโ€‹

Runs:

  • WASM debug build
  • Vite dev server
  • Docusaurus dev server Perfect for deep debugging sessions where you need everything running at once.