We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0096d27 commit bf7f401Copy full SHA for bf7f401
2 files changed
meson.build
@@ -632,6 +632,7 @@ if host_platform == 'emscripten'
632
command: [
633
python3_prog,
634
serve_wasm_py,
635
+ '@BUILD_ROOT@',
636
],
637
depends: powder_exe,
638
)
resources/serve-wasm.template.py
@@ -7,6 +7,13 @@
7
import sys
8
import time
9
10
+(
11
+ script,
12
+ build_root,
13
+) = sys.argv
14
+
15
+os.chdir(build_root)
16
17
HTTP_HOST = '127.0.0.1'
18
HTTP_PORT = 8000
19
HTTP_INDEX = 'serve-wasm.index.html'
0 commit comments