Search code examples
phppythondjangomod-wsgi

Does WSGI behave dynamicly?


I remember when I save my files in PHP language, it didn't need to restart or reload apache web server.

In Python, specialy Django, If I use django webserver with runserver command,it needs to restart django if I change my files. Question is, if I use WSGI in server, Does it behave such as php or runserver command?


Solution

  • If you modify static files or html template, you should be fine without reloading your server.
    But you will need to reload your apache server if you change any of your python files.