Re: Apache restart after source changes

2013-12-29 Thread diverman
In development environment I suggest to use build-in webserver from wsgiref module, see http://docs.python.org/2/library/wsgiref.html#examples Then it's easy to run webserver in console and killstart it with Ctrl+C keystroke. In production environment, use your prefered webserver like

Re: Apache restart after source changes

2013-12-26 Thread Chris “Kwpolska” Warrick
On Thu, Dec 26, 2013 at 7:36 AM, Fredrik Bertilsson freb...@gmail.com wrote: Also, it's not a python issue, it's an issue with your particular stack. Other stacks do automatic reloading (for example, the web server that Django uses). Which web server do you suggest instead of Apache, which

Re: Apache restart after source changes

2013-12-26 Thread Ned Batchelder
On 12/26/13 12:57 AM, Fredrik Bertilsson wrote: I am evaluating Python for web development and just found out that I need to restart Apache after source changes on windows. Using linux the situation is better but I still have to touch the wsgi file. Is it only me that finds this being a major

Apache restart after source changes

2013-12-25 Thread Fredrik Bertilsson
I am evaluating Python for web development and just found out that I need to restart Apache after source changes on windows. Using linux the situation is better but I still have to touch the wsgi file. Is it only me that finds this being a major drawback compared to PHP? --

Re: Apache restart after source changes

2013-12-25 Thread Eduardo A . Bustamante López
On Wed, Dec 25, 2013 at 09:57:42PM -0800, Fredrik Bertilsson wrote: I am evaluating Python for web development and just found out that I need to restart Apache after source changes on windows. Using linux the situation is better but I still have to touch the wsgi file. Is it only me that

Re: Apache restart after source changes

2013-12-25 Thread Fredrik Bertilsson
Also, it's not a python issue, it's an issue with your particular stack. Other stacks do automatic reloading (for example, the web server that Django uses). Which web server do you suggest instead of Apache, which doesn't have this problem? (I am not planning to use Django) --