Skip to content

Commit

Permalink
feat: pre-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNoim committed May 30, 2024
1 parent e088729 commit faf706f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions reactive_home/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit faf706f

Please sign in to comment.