Open Armen-Jean-Andreasian opened 4 months ago
Debug mode does not enable code reloading on change, just more detailed error messages. See https://bottlepy.org/docs/dev/api.html#bottle.run You are looking for the reloader
parameter?
it should reloader=True
Howdy! Decided to discover other libraries today, so I took Bottle. I liked it. 'Hit Ctrl-C to quit' was fun. Like 'Smash Ctrl-C to quit".
However, I noticed probably a bug. I used the simplest snippet:
So, for this code during the runtime with turned on debug mode I change
{'message': f"hello world"}
to{'message': f"hello no world"}
and the response is still{'message': "hello world"}
. Whereas the logs are127.0.0.1 - - [14/Feb/2024 14:25:58] "GET / HTTP/1.1" 200 26
Done list:
bottle
The issue still persists. Hope this information will be helpful for you. Good luck.
UPD:
Just tested with
requests
and the issue persists.