Update CSS watcher script
This commit is contained in:
parent
cbadc88044
commit
8fc0a49443
@ -5,5 +5,5 @@
|
|||||||
|
|
||||||
/* Top bar */
|
/* Top bar */
|
||||||
.ewwii_panel {
|
.ewwii_panel {
|
||||||
background-color: rgba(95, 95, 95, .404);
|
background-color: rgba(95, 95, 95, 0.404);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -20,11 +20,16 @@ echo "Watching $scss_dir..."
|
|||||||
echo "Press Ctrl-C to stop."
|
echo "Press Ctrl-C to stop."
|
||||||
|
|
||||||
fswatch \
|
fswatch \
|
||||||
--recursive \
|
--recursive \
|
||||||
--latency=0.1 \
|
--event Updated \
|
||||||
--one-per-batch \
|
--event Created \
|
||||||
"$scss_dir" |
|
--event Removed \
|
||||||
|
--event Renamed \
|
||||||
|
--latency=0.3 \
|
||||||
|
--one-per-batch \
|
||||||
|
--include '\.scss$' \
|
||||||
|
"$scss_dir" |
|
||||||
while read -l event
|
while read -l event
|
||||||
echo "Change detected..."
|
echo "SCSS change detected: $event"
|
||||||
"$builder"
|
"$builder"
|
||||||
end
|
end
|
||||||
|
|||||||
@ -3,5 +3,5 @@
|
|||||||
// https://git.candifloss.cc/candifloss
|
// https://git.candifloss.cc/candifloss
|
||||||
|
|
||||||
// Common
|
// Common
|
||||||
$primary_bg: rgba(95, 95, 95, .404);
|
$primary_bg: rgba(95, 95, 95, 0.404);
|
||||||
$primary_text_col: #ffffff;
|
$primary_text_col: #ffffff;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user