Add dev.sh

dev.sh uses entr to restart the server every time a change is made to a .py file
This commit is contained in:
2017-10-11 01:43:49 +02:00
parent 8790dd83b2
commit 994a42766a
Executable
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
if ! which entr > /dev/null; then
echo "entr is not installed, aborting..."
exit 1
fi
find . -name "*.py" | entr -r ./server.py