RunestoneServer icon indicating copy to clipboard operation
RunestoneServer copied to clipboard

Development with BookServer requires an entire docker restart

Open bnmnetp opened this issue 3 years ago • 1 comments

Easy to recreate reliably

  1. start up docker and all servers in development mode (./docker/docker_tools.py build --single_dev)
  2. Make a simple change to a file in BookServer - books.py add a log message at the beginning of serve_page or change an existing
  3. Note that docker logs indicate that a change was detected and a reload supposedly occurs
  4. Note that the change is not reflected - no such log message appears in the logs or the old log message still appears

bnmnetp avatar Jun 12 '22 15:06 bnmnetp

Fixed - partially with the reload bookserver command. Could also add a watch parameter to have watchdog send the signal independent of gunicorn which others report works well.

bnmnetp avatar Jun 27 '22 20:06 bnmnetp

Stale issue message

github-actions[bot] avatar Sep 26 '22 02:09 github-actions[bot]