JuliaWeb / HTTP.jl

HTTP for Julia
https://juliaweb.github.io/HTTP.jl/stable/
Other
626 stars 177 forks source link

Hot module reloading #1098

Open Dale-Black opened 10 months ago

Dale-Black commented 10 months ago

Is there a way to start the server using HTTP.serve() that watches for file changes in the directory and restarts the serve for those changes? I am trying to figure this out for Oxygen.jl, which uses this HTTP.jl under the hood. (https://github.com/ndortega/Oxygen.jl/issues/122#issue-1867584195). Any help is greatly appreciated

Dale-Black commented 10 months ago

This functionality only needs to work for .jl files so maybe Revise.jl can already accomplish something like this?