From 365e47f5e452884a06f3a65290a619aadf175d67 Mon Sep 17 00:00:00 2001 From: Laurentino Luna <81370009+fuserr7@users.noreply.github.com> Date: Sat, 4 Sep 2021 13:00:10 -0300 Subject: [PATCH] Add emrun command explanation --- Working-for-Web-(HTML5).md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Working-for-Web-(HTML5).md b/Working-for-Web-(HTML5).md index 02c92cb..d91d04a 100644 --- a/Working-for-Web-(HTML5).md +++ b/Working-for-Web-(HTML5).md @@ -220,6 +220,12 @@ Finally, access your game in the browser using: localhost:8080/project_name.html +Alternatively, if you have the emscripten binaries in your path, you can run the following command +``` +emrun project_name.html +``` +And this will be the equivalent to writing the `wasm-server.py` program. + ### Building with CLion/CMake/Emscripten for Web Use the following **CMake options** (find them under **CLion > Preferences > Build,Execution,Deployment > CMake**)