Thanks for the help. On Wed, Jan 20, 2010 at 11:04 AM, sstein...@gmail.com <sstein...@gmail.com>wrote:
> > On Jan 20, 2010, at 10:37 AM, Phil Christensen wrote: > > > On Jan 20, 2010, at 9:58 AM, adamjamesdrew same wrote: > >> 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? > > > > This is a Django-specific feature that doesn't exist in Twisted. > > > > It wouldn't be too hard to write, but it's the kind of feature that tends > to be useful more to web developers than authors of other kinds of > applications. > > > > As it is, automatic code reloading is tricky to achieve in Python, since > reload(modulename) only reloads modulename in the current scope, and must be > reloaded everywhere that module is used. > > There is/was a Twisted ticket about this and a quick sketch of how it might > be done for Twisted by using the Django module itself by one of the Twisted > devs. > > I gave it a brief shot, but couldn't get it working in the time I had to > spend on it. > > Sure would be handy, though... > > S > > > _______________________________________________ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python >
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python