This repository has been archived on 2026-05-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
cardmaker/dev.sh
T
pederbs 994a42766a Add dev.sh
dev.sh uses entr to restart the server every time a change is made to a .py file
2017-10-11 01:43:49 +02:00

7 lines
148 B
Bash
Executable File

#!/bin/bash
if ! which entr > /dev/null; then
echo "entr is not installed, aborting..."
exit 1
fi
find . -name "*.py" | entr -r ./server.py