We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 718fc1d commit 3748acbCopy full SHA for 3748acb
packages/vite/src/node/shortcuts.ts
@@ -44,8 +44,7 @@ export function bindShortcuts(
44
const onInput = async (input: string) => {
45
// ctrl+c or ctrl+d
46
if (input === '\x03' || input === '\x04') {
47
- process.stdin.setRawMode(false)
48
- process.stdin.write(input)
+ process.emit('SIGTERM')
49
return
50
}
51
0 commit comments