994a42766a
dev.sh uses entr to restart the server every time a change is made to a .py file
7 lines
148 B
Bash
Executable File
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 |