From 23e527398d8cae84d046178bcf8c7eeea90ab154 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Tue, 22 Aug 2017 03:27:17 -0700 Subject: make sure there is a symlink to fonts when running the local server for lab --- docs/serve.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/serve.sh b/docs/serve.sh index c9cb7b6ef..fd8b94c63 100755 --- a/docs/serve.sh +++ b/docs/serve.sh @@ -2,6 +2,10 @@ set -e cd "$(dirname "$0")" +if [ ! -s docs/lab/fonts ]; then + ln -s ../../build/dist docs/lab/fonts +fi + if (which caddy >/dev/null); then caddy_args=(\ -host localhost \ -- cgit v1.2.3