summaryrefslogtreecommitdiff
path: root/watch.sh
blob: 18d2ac2c86e535ddb0c851a5aea6b492b53b8181 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

while true; do
  (git fetch && git reset --hard origin) || git clone "$REPO" . && git submodule update --init
  git submodule update --remote
  sleep 60
done