You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to add a --detach mode similar to jekyll serve to detach the session.
Motivation
This could be useful for testing purposes and usability etc so it doesn't block the main terminal.
Pitch
The equivalent of
jekyll serve --detach
...
Generating...
done in 3.982 seconds.
Auto-regeneration: disabled when running server detached.
Server address: http://127.0.0.1:4000/
Server detached with pid '76023'. Run `pkill -f jekyll' or `kill -9 76023' to stop the server.
Alternatives
Additional context
The text was updated successfully, but these errors were encountered:
this would require introducing a CLI which may not be a bad idea but idk if it’s needed? we all want to keep litserve simple but maybe CLI can still keep it simple
that's right! as Andy said you can put ampersand for this. But to terminate the server you either have to note down the process id and kill that or find it later and kill it. Which might be intimidating for some users.
🚀 Feature
It would be nice to add a
--detach
mode similar tojekyll serve
to detach the session.Motivation
This could be useful for testing purposes and usability etc so it doesn't block the main terminal.
Pitch
The equivalent of
Alternatives
Additional context
The text was updated successfully, but these errors were encountered: