<font face="trebuchet ms,sans-serif">If you don't have access to restart Apache (or `x` server), then touch fcgi.py <i>should</i> work.<br></font><br><div class="gmail_quote">On Fri, Sep 28, 2012 at 2:57 PM, Gilles <span dir="ltr"><<a href="mailto:nospam@nospam.com" target="_blank">nospam@nospam.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello<br>
<br>
Does someone know if something must be done after editing a FastCGI +<br>
WSGI script so that the changes will show in the browser immediately<br>
instead of having to wait X minutes?<br>
<br>
===========<br>
#!/usr/bin/env python2.6<br>
<br>
def myapp(environ, start_response):<br>
        start_response('200 OK', [('Content-Type', 'text/plain')])<br>
        return ['I CHANGED THIS\n']<br>
<br>
if __name__ == '__main__':<br>
        from flup.server.fcgi import WSGIServer<br>
        WSGIServer(myapp).run()<br>
===========<br>
<br>
I guess the FastCGI server (Flup) only updates its cache every so<br>
often. Do I need to type a command to force Flup to recompile the<br>
Python script?<br>
<br>
Thank you.<br>
<span class="HOEnZb"><font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br>