Notes/static/less/loop_make.sh

16 lines
240 B
Bash
Raw Normal View History

2023-06-15 07:24:23 +02:00
#!/bin/bash
while true
do
# inotifywait -q -e MOVE_SELF *less
inotifywait -q -e MODIFY *less
#sleep 0.5
clear
if make -j12; then
echo -e "\n\e[32;1mOK!\e[0m"
2024-01-07 16:20:21 +01:00
curl -s http://notes.lan:1371/_ws/css_update
2023-06-15 07:24:23 +02:00
sleep 1
clear
fi
done