Closed joaoventura closed 10 years ago
This issue was introduced when using inspect.getsource()
for translation with Pythonium. Turns out the result of getsource()
is not updated after a reload()
unless linecache.clearcache()
is called after the reload
.
Issue is now solved.
I've tested, it is working fine!
I have a file with the hello world example:
and another one which starts the server
The problem is that, when I make changes to the HelloWorldApp, only some propagate correctly to the client. For instance, changes in this line:
propagates correctly to the client. However, if I change the contents on functions which are to be propagated to the client, such as:
this does not go the client as is, but returns the first version (without comments). It seems that it is cached somewhere. The server process has to be restarted to apply the changes.
This behavior occurs in Firefox and Chrome (latest as in Ubuntu 13.04)..