diff --git a/packages/wxt/src/core/keyboard-shortcuts.ts b/packages/wxt/src/core/keyboard-shortcuts.ts index 0dfba014..c2652a53 100644 --- a/packages/wxt/src/core/keyboard-shortcuts.ts +++ b/packages/wxt/src/core/keyboard-shortcuts.ts @@ -26,6 +26,8 @@ export function createKeyboardShortcuts( return { start() { + this.stop(); + rl ??= readline.createInterface({ input: process.stdin, terminal: false, // Don't intercept ctrl+C, ctrl+Z, etc