3 ms·
I'm not a big fan of auto-restart. It's slow for the server to crawl over all files and check if re-load is needed. Having individual modules reload themselve
by nas 15y ago
I'm not a big fan of auto-restart. It's slow for the server to crawl over all files and check if re-load is needed. Having individual modules reload themselves without reloading the whole server is error prone (e.g. you could end up using an old class).
With Quixote I have a Tkinter GUI that shows me the debug and access logs and lets me restart the DB or app server with a single click. When I'm ready to test I just right-click on that window and the app server restarts.
- Tobu 15y agoIf this matters — and the reload feature is for development, so I'm not sure the polling has a noticeable impact — an inotify implementation is also possible.