If you don't have access to restart Apache (or `x` server), then touch fcgi.py *should* work.
On Fri, Sep 28, 2012 at 2:57 PM, Gilles <nos...@nospam.com> wrote: > Hello > > Does someone know if something must be done after editing a FastCGI + > WSGI script so that the changes will show in the browser immediately > instead of having to wait X minutes? > > =========== > #!/usr/bin/env python2.6 > > def myapp(environ, start_response): > start_response('200 OK', [('Content-Type', 'text/plain')]) > return ['I CHANGED THIS\n'] > > if __name__ == '__main__': > from flup.server.fcgi import WSGIServer > WSGIServer(myapp).run() > =========== > > I guess the FastCGI server (Flup) only updates its cache every so > often. Do I need to type a command to force Flup to recompile the > Python script? > > Thank you. > -- > http://mail.python.org/mailman/listinfo/python-list >
-- http://mail.python.org/mailman/listinfo/python-list