monitor changes for dev sever
This commit is contained in:
parent
df014171a7
commit
def2b2ed3e
1
Makefile
1
Makefile
|
|
@ -27,6 +27,7 @@ server: all
|
||||||
@trap 'kill 0' SIGINT; \
|
@trap 'kill 0' SIGINT; \
|
||||||
flask run & \
|
flask run & \
|
||||||
nginx -c $$(pwd)/nginx.conf -e stderr & \
|
nginx -c $$(pwd)/nginx.conf -e stderr & \
|
||||||
|
(inotifywait -qmre modify ctf pages | while IFS=$$'\n' read line; do echo "$$line"; make; done) & \
|
||||||
wait
|
wait
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue