Update extension-server.ts
This commit is contained in:
@@ -5,11 +5,6 @@ async function main() {
|
|||||||
|
|
||||||
console.log('Server running. Press Ctrl+C to stop.')
|
console.log('Server running. Press Ctrl+C to stop.')
|
||||||
|
|
||||||
process.on('SIGINT', () => {
|
|
||||||
console.log('\nShutting down...')
|
|
||||||
server.close()
|
|
||||||
process.exit(0)
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
main().catch(console.error)
|
main().catch(console.error)
|
||||||
|
|||||||
Reference in New Issue
Block a user