smon/static/less/loop_make.sh

21 lines
329 B
Bash
Raw Normal View History

2024-04-29 08:36:13 +02:00
#!/bin/bash
while true
do
# inotifywait -q -e MOVE_SELF *less
inotifywait -q -e MODIFY *less
#sleep 0.5
clear
2024-06-25 08:59:07 +02:00
for THEME in $(ls theme-*.less | sed -e 's/^theme-\(.*\)\.less$/\1/'); do
if make -j12; then
:
#curl -s http://notes.lan:1371/_ws/css_update
fi
done
echo -e "\n\e[32;1mOK!\e[0m"
sleep 1
clear
2024-04-29 08:36:13 +02:00
done