cargo install cargo-watch
cargo watch -x run
Install wasm-server-runner
cargo install cargo-watch
cargo install wasm-server-runner
WASM_SERVER_RUNNER_CUSTOM_INDEX_HTML=index.html cargo watch -x "run --target wasm32-unknown-unknown"
Add optional feature Flag --features wee_alloc
to compile with wee_alloc
as global allocator.
cargo install cargo-wgsl
cargo wgsl