3649d3453d
This makes development easier as always the latest version is used.
13 lines
344 B
Bash
Executable file
13 lines
344 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -eu
|
|
|
|
PORT=8080
|
|
|
|
# Starts a local web-server that serves the contents of the `doc/` folder,
|
|
# which is the folder to where the web version is compiled.
|
|
|
|
echo "open http://localhost:$PORT/index.html#dev"
|
|
|
|
(cd docs && basic-http-server --addr 127.0.0.1:$PORT .)
|
|
# (cd docs && python3 -m http.server $PORT --bind 127.0.0.1)
|