tainacan/build-watch.sh

11 lines
240 B
Bash
Raw Normal View History

2017-11-06 14:02:51 +00:00
#!/bin/sh
## Run the build script whenever there is a change in src folder
echo 'Watching changes on src/'
while inotifywait -qqr src -e create,move,modify,delete; do
echo
echo 'Change detected, running build'
./build.sh
done