histoiredunpied/auto-publish.sh

7 lines
150 B
Bash
Raw Normal View History

2020-02-20 18:29:02 +01:00
#!/bin/sh
while inotifywait -e create,moved_to,delete,modify -r ./content/ ./static/; do
sleep 20
npm run build && npm run ftp-deploy
date
done