diff --git a/www/wip_new_website/build-dev-local.sh b/www/wip_new_website/build-dev-local.sh old mode 100644 new mode 100755 index 1eb1743a68..a0e0c5a254 --- a/www/wip_new_website/build-dev-local.sh +++ b/www/wip_new_website/build-dev-local.sh @@ -1,14 +1,13 @@ #!/usr/bin/env bash -# Use this script to for testing the WIP site locally without downloading assets every time. +# Use this script to for testing the WIP site locally without downloading assets every time. -# NOTE run `bash www/build.sh` to cache local copy of fonts, and repl assets etc +# NOTE run `bash www/build.sh` to cache local copy of fonts, and repl assets etc rm -rf dist/ +cp -r ../build dist/ mkdir -p dist/wip -cp -r ../build/wip/* dist/wip/ roc run main.roc -- content/ dist/wip/ -cp -r ../build/fonts/ dist/fonts/ cp -r static/* dist/wip/ -simple-http-server -p 8080 --nocache --index -- dist/ +simple-http-server -p 8080 --nocache --index -- dist/