Skip to content

Commit faf706f

Browse files
committed
feat: pre-cache
1 parent e088729 commit faf706f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

reactive_home/run.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,9 @@ PKG_VERSION=$(echo "$PKG_VERSION_SCRIPT" | deno run -)
2626

2727
cd /config/reactive-home
2828

29+
echo "Pre-cache"
30+
deno cache --reload $PKG_VERSION
31+
deno cache --reload $PKG_VERSION/runtime
32+
deno cache --reload $PKG_VERSION/loader
2933
echo "Load runtime..."
3034
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"

0 commit comments

Comments
 (0)