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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension: Static Server #19

Open
HuakunShen opened this issue Oct 4, 2024 · 1 comment
Open

Extension: Static Server #19

HuakunShen opened this issue Oct 4, 2024 · 1 comment
Assignees

Comments

@HuakunShen
Copy link
Contributor

HuakunShen commented Oct 4, 2024

Start a static file server with a given dir, and optional ports

@HuakunShen HuakunShen self-assigned this Oct 4, 2024
@HuakunShen
Copy link
Contributor Author

Should be simpler now after kunkunsh/kunkun#53
When extension exits, file server processes automatically get killed.

Make this extension open in separate window in case user want to serve multiple directories simultaneously.
In onBeforeGoBack(), kill the server processes. In case manual clean up failed, kunkunsh/kunkun#54 provides auto cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

No branches or pull requests

1 participant