From 8784c189f5b17246b24b11498575fe1855df771e Mon Sep 17 00:00:00 2001 From: Glint Dev Date: Wed, 22 Jul 2026 14:01:00 +0300 Subject: [PATCH] Phase 6: Pre-populate Rhai AST cache from Document at startup --- src/cli.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli.rs b/src/cli.rs index 80d5957..e0ff739 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -160,6 +160,7 @@ pub fn run_file(path: &str) -> ! { move || { let mut local_doc = doc.clone(); let rhei = RheiContext::new(&local_doc.rhei_scripts); + rhei.precompile_all_from_doc(&local_doc); rhei.initialize(&mut local_doc.variables); let vdom_roots = Interpreter::evaluate_vdom(