Skip to content

Missing restart shortcut in dev server. #1739

Answered by Timeless0911
ViktorZhurbin asked this question in Q&A
Discussion options

You must be logged in to vote

Restarting server of Rspress is much more complex, and the shortcuts provided by Rsbuild cannot meet the requirements. Therefore, we disable r in

cliShortcuts: {
// does not support restart server yet
custom: shortcuts => shortcuts.filter(({ key }) => key !== 'r'),
},
},

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ViktorZhurbin
Comment options

Answer selected by ViktorZhurbin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants