Answer the question
In order to leave comments, you need to log in
How to restart the project faster?
Hey!
There is a project on flask, it is launched through systemd services.
Every time I need to make some changes, both in the python code and in the html templates, I need to restart the server with the command:
systemctl restart project
however, this is not so long, 10-15 seconds, but still annoying when you make changes all the time.
Is there a way to somehow let the application know that I have changed something and would it be good to take this into account?
Answer the question
In order to leave comments, you need to log in
Run the project under the control of the WSGI server and set the restart conditions in it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question