mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-31 20:16:36 +08:00
docs: modify comments
This commit is contained in:
parent
d800d850ea
commit
324e0cf37f
@ -59,7 +59,7 @@ function watchPreload(server) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// block CTRL + C to exit the application directly without displaying the query in Windows
|
// Block the CTRL + C shortcut on a Windows terminal and exit the application without displaying a query
|
||||||
if (process.platform === 'win32') {
|
if (process.platform === 'win32') {
|
||||||
readline.createInterface({ input: process.stdin, output: process.stdout }).on('SIGINT', process.exit)
|
readline.createInterface({ input: process.stdin, output: process.stdout }).on('SIGINT', process.exit)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user