Open
Description
Problem
Currently when executing a cell via kernel_gateway.notebook_http
mode, the cell's code/logic stays the same even when changing the cell after starting the kernel_gateway.
For example, if kernel_gateway
starts and the cell's content is...
# GET /hello/world
print(f"hello")
...then calling http://127.0.0.1/hello/world
gives hello
response. If that cell changes to...
# GET /hello/world
print(f"new change")
...and the kernel_gateway
isn't restarted then http://127.0.0.1/hello/world
responds with hello
still instead of new change
Proposed Solution
Monitor for file changes and reload the cell's code.