monitor changes for dev sever

This commit is contained in:
caandt 2024-09-22 17:43:10 -05:00
parent df014171a7
commit def2b2ed3e
2 changed files with 2 additions and 0 deletions

View file

@ -27,6 +27,7 @@ server: all
@trap 'kill 0' SIGINT; \
flask run & \
nginx -c $$(pwd)/nginx.conf -e stderr & \
(inotifywait -qmre modify ctf pages | while IFS=$$'\n' read line; do echo "$$line"; make; done) & \
wait
clean:

View file

@ -26,5 +26,6 @@ pkgs.mkShell {
gnumake
python311
nginx
inotify-tools
];
}