Skip to content

Commit

Permalink
fix: hungup e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Oct 20, 2023
1 parent faef28f commit 7dbd5bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions playground/node/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ const server = createServer((req, res) => {

server.listen(8123)
console.log('server listening on 8123')

process.on('SIGINT', () => {
server.close()
process.exit()
})

0 comments on commit 7dbd5bb

Please sign in to comment.