Commit 52e1a9d7 authored by Laura Kalbag's avatar Laura Kalbag
Browse files

Develop script does full build now if dist folder does not exist

parent 230eca68
#!/bin/bash
# If dist directory doesn’t exist, clean the cache and
# recreate it so we ensure a full build.
if [ ! -d "dist" ]; then
echo "(!) dist/ directory does not exist; doing a full build"
mkdir dist
./clean-cache
fi
# Start serving the dist directory at https://localhost as a background process.
site dist &
SITE_JS_PID=$!
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment