Github action support #2
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
|
#!/bin/bash
|
||||||
sassc css/style.scss css/style.css
|
sassc css/style.scss css/style.css
|
||||||
python3 -m http.server 8080 &
|
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
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user