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

feat(cli): clear console by pressing c (#11493) #11494

Merged
merged 4 commits into from
Jan 4, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update packages/vite/src/node/shortcuts.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
  • Loading branch information
kinfuy and bluwy authored Dec 28, 2022
commit 26dbd80d74b8daad9bfc4e9a3061eea963acd9da
2 changes: 1 addition & 1 deletion packages/vite/src/node/shortcuts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const BASE_SHORTCUTS: CLIShortcut[] = [
key: 'c',
description: 'clear console',
async action(server) {
server.config.logger.clearScreen('error')
server.config.logger.clearScreen('silent')
},
},
{
Expand Down