From faf706f35dc0223bd6d416fdbb439f30cf290aae Mon Sep 17 00:00:00 2001 From: Nils Bergmann Date: Thu, 30 May 2024 21:26:42 +0200 Subject: [PATCH] feat: pre-cache --- reactive_home/run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactive_home/run.sh b/reactive_home/run.sh index 8d6f41b..054a52b 100644 --- a/reactive_home/run.sh +++ b/reactive_home/run.sh @@ -26,5 +26,9 @@ PKG_VERSION=$(echo "$PKG_VERSION_SCRIPT" | deno run -) cd /config/reactive-home +echo "Pre-cache" +deno cache --reload $PKG_VERSION +deno cache --reload $PKG_VERSION/runtime +deno cache --reload $PKG_VERSION/loader echo "Load runtime..." echo "import '$PKG_VERSION/runtime'" | deno run --import-map=/config/reactive-home/import_map.json --allow-env --allow-net --allow-run --allow-sys --allow-read - --root /config/reactive-home --pkg "$PKG_VERSION" \ No newline at end of file