oef/watch.sh

12 lines
137 B
Bash
Raw Normal View History

2019-11-04 15:00:46 +01:00
#!/bin/bash
echo "Executing Makefile... $1"
make -k $1
while inotifywait -r -e modify ./; do
killall -9 main
make -k $1
done