Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a detached mode #56

Open
rasbt opened this issue Apr 22, 2024 · 2 comments
Open

Add a detached mode #56

rasbt opened this issue Apr 22, 2024 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@rasbt
Copy link
Contributor

rasbt commented Apr 22, 2024

馃殌 Feature

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

@rasbt rasbt added enhancement New feature or request help wanted Extra attention is needed labels Apr 22, 2024
Copy link

Hi! thanks for your contribution!, great first issue!

@williamFalcon
Copy link
Contributor

williamFalcon commented May 25, 2024

this would require introducing a CLI which may not be a bad idea but idk if it鈥檚 needed? we all want to keep litserve simple but maybe CLI can still keep it simple

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants