This commit is contained in:
parent
e57323aa3e
commit
9df235f379
13
dev.sh
Executable file
13
dev.sh
Executable 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
|
||||
|
12
start.sh
12
start.sh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user