update start script
All checks were successful
Deploy to Pi / deploy (push) Successful in 1s

This commit is contained in:
david 2025-04-03 19:12:12 -07:00
parent e57323aa3e
commit 9df235f379
2 changed files with 14 additions and 11 deletions

13
dev.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
sassc css/style.scss css/style.css
python3 -m http.server 8080 &
# Keypress loop
while true; do
read -n 1 -s key
if [[ $key == "r" ]]; then
echo -e "\nRecompiling SCSS..."
sassc css/style.scss css/style.css && echo "Done."
fi
done

View File

@ -1,13 +1,3 @@
#!/bin/bash
sassc css/style.scss css/style.css
python3 -m http.server 8080 &
# Keypress loop
while true; do
read -n 1 -s key
if [[ $key == "r" ]]; then
echo -e "\nRecompiling SCSS..."
sassc css/style.scss css/style.css && echo "Done."
fi
done
python3 -m http.server 8080