mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-15 23:13:07 +01:00
step 1 for cibuild php
This commit is contained in:
12
webinstall/watch.sh
Executable file
12
webinstall/watch.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#! /bin/sh
|
||||
if [ "$1" = "" ] ; then
|
||||
echo "usage: $0 targetDir"
|
||||
exit 1
|
||||
fi
|
||||
while true
|
||||
do
|
||||
inotifywait -e modify -e create -e delete -r `dirname $0`
|
||||
echo sync
|
||||
rsync -rav --exclude=\*.swp --exclude=\*~ `dirname $0`/ $1
|
||||
|
||||
done
|
||||
Reference in New Issue
Block a user