diff --git a/repl_test/run_wasm.sh b/repl_test/run_wasm.sh
index 037082ac52..4d5ffbce3c 100755
--- a/repl_test/run_wasm.sh
+++ b/repl_test/run_wasm.sh
@@ -3,4 +3,4 @@
# We can try to make the build nicer later
cargo build --target wasm32-unknown-unknown -p roc_repl_wasm --features wasmer --release
-cargo test -p repl_test --features wasm -- --nocapture literal_42
+cargo test -p repl_test --features wasm
diff --git a/repl_test/src/wasm.rs b/repl_test/src/wasm.rs
index d8cdcd6594..a6f0a86a99 100644
--- a/repl_test/src/wasm.rs
+++ b/repl_test/src/wasm.rs
@@ -10,28 +10,31 @@ use wasmer_wasi::WasiState;
const WASM_REPL_COMPILER_PATH: &str = "../target/wasm32-unknown-unknown/release/roc_repl_wasm.wasm";
+thread_local! {
+ static COMPILER: RefCell