backgrounded serve process stays open when terminal is closed
Closed this issue · 2 comments
matthewmueller commented
not actually sure if this is my OS or serve, but I'm not sure if you've noticed but here are the steps:
- Close the terminal window while a background serve process is running.
- Go to the address of that background process. It should open back up again
- Reload the page. The background process should shutdown.
This is annoying because it doesn't allow you to reclaim ports right away.
tj commented
yea that's just the shell, some send HUP on exit but I think that varies from shell to shell (I've never noticed bash send it), so you'll have to fg
or kill it some other way
matthewmueller commented
ahh i gotcha