wasm-server 1.0.2

A simple WASM dev server with live reloading
# WASM Live Server


Automatically compiles and runs your WASM code; Without configuration and without touching HTML or Javascript.

## Install


```shell
cargo install wasm-server
```

## Project Setup


1. create project
   ```shell
   wasm-pack new <name>
   ```
2. create a main method in `src/lib.rs`

   ```rust
   #[wasm_bindgen]
   pub fn main() {
       utils::set_panic_hook();
       ...
   }
   ```

   => this method gets called by the wasm-server when the website loads.

## Usage


Just start it in the root directory of your project:

```shell
wasm-server [absolute path to project]
```