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

[Feature]: provide cli shortcuts #2991

Closed
Alkaidcc opened this issue Jul 23, 2024 · 1 comment
Closed

[Feature]: provide cli shortcuts #2991

Alkaidcc opened this issue Jul 23, 2024 · 1 comment
Assignees

Comments

@Alkaidcc
Copy link
Contributor

What problem does this feature solve?

CLI shortcuts allow users to restart the server, show the server URL, clear the console, etc. It's very convenient.
in vite, we can

press r + enter to restart the server
press u + enter to show server url
press o + enter to open in browser
press c + enter to clear console
press q + enter to quit

Does rsbuild have plans to support it?

What does the proposed API look like?

same as vite

@chenjiahan
Copy link
Member

chenjiahan commented Jul 23, 2024

Yes, Rsbuild dev server should provide this feature, I will implement it.

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

No branches or pull requests

2 participants