Fork me on GitHub

More robust Auto-reload

The Bottle auto-reload feature got an upgrade today: It is now able to handle syntax and import errors in your application or imported modules. Just start the server with the new command-line interface and give it a try:

bottle.py --debug --reload package.module:app

I had to change a lot of the reloading code to achieve this and was not able to test it with windows yet. If you have some time and a windows machine at hand, please try and tell me if anything goes wrong.

blogroll

social