[Twisted-Python] WSGI Question

adamjamesdrew same theiklabs at gmail.com
Wed Jan 20 09:58:33 EST 2010


I deploy code. Then I modify the code on my file system. The code does not
automatically change on the server. It does this on the django dev server.
How can I make this happen?

I start the server as follows

twistd -ny server.py

# Django and static file server:
root_resource = get_root_resource()
root_resource.putChild("static", static.File("static"))
http_factory = server.Site(root_resource, logPath="http.log")
internet.TCPServer(STATIC_PORT, http_factory,
interface=INTERFACE).setServiceParent(serviceCollection)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20100120/e600aba8/attachment.htm 


More information about the Twisted-Python mailing list