From: Brendan Hansen Date: Mon, 3 Apr 2023 01:41:08 +0000 (+0000) Subject: fixed `serve.py` X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=df0e7e4d5e3fa0e50dcfc71dc1e37721663533e1;p=onyx-live.git fixed `serve.py` --- diff --git a/serve.py b/serve.py index 6081d11..169565b 100644 --- a/serve.py +++ b/serve.py @@ -64,7 +64,7 @@ def post_compile_onyx(): with os.fdopen(code_file_desc, "w+b") as code_file: code_file.write(code.encode('utf-8')) - compile_process = subprocess.run(f"timeout -s KILL 10s onyx -r js --no-file-contents --no-colors -o {wasm_file_name} {code_file_name} ./read_line.onyx ./canvas.onyx", shell=True, capture_output=True) + compile_process = subprocess.run(f"timeout -s KILL 10s onyx build -r js --no-file-contents --no-colors -o {wasm_file_name} {code_file_name} ./read_line.onyx ./canvas.onyx", shell=True, capture_output=True) os.remove(code_file_name)