wvdsh dev command starts a local HTTPS development server that lets you test your game in the Wavedash sandbox environment before publishing.
Before running, make sure you’ve configured your wavedash.toml.
Usage
- Reads your
wavedash.tomlconfiguration - Starts an HTTPS server at
https://localhost:7777 - Opens your game in the Wavedash sandbox environment
- Serves files from your
upload_dir
Options
| Option | Description |
|---|---|
-c, --config <PATH> | Path to wavedash.toml (default: ./wavedash.toml) |
--no-open | Don’t open the browser automatically |
Examples
Use a custom config file:How it works
The dev server creates a local testing environment that mimics the production Wavedash platform:Certificate generation
On first run, the CLI generates a self-signed SSL certificate and installs it in your system’s trust store. This enables HTTPS which is required for many browser APIs.
File serving
The server serves your game files from the
upload_dir specified in your config. It automatically handles compression and content types.Certificate trust
The first time you runwvdsh dev, the CLI generates and installs a self-signed certificate:
| Platform | Certificate location |
|---|---|
| macOS | System Keychain |
| Windows | Certificate Store |
| Linux | /usr/local/share/ca-certificates/ |
Certificate files
Certificates are stored in your config directory:- macOS
- Linux
- Windows
Supported features
The local dev server supports:- CORS headers for wavedash.com domains
- Compression (gzip, brotli) for applicable files
- Content-Type detection for common file types
- Pre-compressed files (
.gz,.brextensions)
File serving
The server automatically:- Locates your HTML entrypoint (searches for
index.html, then any.htmlfile) - Serves files from your
upload_dir - Handles engine-specific files (Godot
.pck, Unity.data, etc.)
Sandbox URL
When the dev server starts, it builds a sandbox URL with:- Your game metadata (org, game, branch slugs)
- Local origin (
https://localhost:7777) - Engine type and version
- Entrypoint parameters
Stopping the server
PressCtrl+C to stop the dev server. It will:
- Shut down the HTTPS server
- Clean up any temporary files
- Display a summary of served requests