Keyboard shortcut definition for development server interactions
const shortcut: KeyboardShortcut = { key: 'r', description: 'restart server', handler: () => server.restart()} Copy
const shortcut: KeyboardShortcut = { key: 'r', description: 'restart server', handler: () => server.restart()}
The keyboard key that triggers this shortcut
Human-readable description of what this shortcut does
Function to execute when the shortcut is triggered
Keyboard shortcut definition for development server interactions
Example