Ticket #157 (defect)
Opened 3 years ago
Last modified 1 year ago
Include AutoReload in the core
Status: closed (fixed)
| Reported by: | steadicat | Assigned to: | rdelon |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | CherryPy code | Keywords: | |
| Cc: |
See AutoReload.
This is a really useful feature for development. It could be enabled via a config option or enabled by default while in "dev".
Change History
05/24/05 03:34:05: Modified by rdelon
- milestone set to 2.1.
05/24/05 15:59:20: Modified by fumanchu
05/24/05 16:17:49: Modified by fumanchu
Why does autoreload shove the current thread into a new one? If you started a new thread for reloader_thread() then you wouldn't have to pass a function to main() at all.
05/24/05 16:55:49: Modified by steadicat
- status changed from new to closed.
- resolution set to fixed.
Fixed in [211].


autoreload calls sys.exit and therefore raises SystemExit?. Shouldn't the servers trap that and shut down cleanly? As it is, they'll just be terminated without running onStopServerList, AFAICT.