jparise / python-reloader

Dependency-based Python Module Reloader
http://www.indelible.org/ink/python-reloading/
MIT License
135 stars 27 forks source link

Jython support and example #13

Closed sjhorn closed 12 years ago

sjhorn commented 12 years ago

Hey Jon. The modules and the associated documentation are great.

I made a minor tweak to allow jython to work and added an example - hope you find this useful.

I also added a fix to normalize filenames in the Monitor. File changes weren't causing a reload if the files were already compiled (the seem to be stored in pyc/$py.class if precompiled but .py otherwise).

jparise commented 12 years ago

Thanks for this. I partially merged your changes (Jython support and the filename comparison problem).

I'd prefer any examples to be included directly in the documentation. Example scripts sitting in the repository aren't very discoverable for the folks who install the package from PyPI, for example.