Paste web server (Python) - autoload problem

When I launch the "Paste" web server in daemon mode, it seems to disable its ability to reboot when updating the timestamp of the source file.

This is how I launch the daemon ...

cd ${project} && ../bin/paster serve --reload --daemon development.ini; cd ..;

... which defeats one of the main points of using Paste (for me).

Has anyone come across this or knew what I was doing wrong?

To be complete, the file I am changing is a controller file.

Version `PasteScript 1.7.3 '

+3
source share
2 answers

, , SIGTERM, - - - daemon reload /, , . , , , , .

+5

. paster , , paster, , . . , , , .

, , "". "" , , . , , "" () --reload, , , (detach = CTRL-A, D). , "screen -r". , ( -r) CTRL-A, K.

, .

+3

Source: https://habr.com/ru/post/1714744/


All Articles