klongpy icon indicating copy to clipboard operation
klongpy copied to clipboard

running web server from REPL (kgpy) doesn't work

Open briangu opened this issue 1 year ago • 0 comments

running the following in the REPL doesn't launch the web server but it works if you run it via "kgpy web.kg" with this as the contents.

.py("klongpy.web")
index::{x; "Hello, Klong World! "}
.web(8888;:{},"/",index;:{})

It's likely this is caused by an issue in how kgpy manages the ioloop.

briangu avatar Jan 04 '24 03:01 briangu