kj-1010-1414
How to Restart Server Manually
I run Hono framework with Deno. I run the server using task script
deno run -A --watch ./server/main.js
. But somehow, I want to watch changes in a directory which is out of reach and restart the server when a change occur in that directory.
I guess I need --watch
programmatically. I tried looking in the docs but found none. So, how can I watch and restart server manually?3 replies