Skip to content

Instantly share code, notes, and snippets.

@jhaemin
Created January 26, 2021 13:28
Show Gist options
  • Select an option

  • Save jhaemin/928ada63fe26c013383a81e5cd0575ee to your computer and use it in GitHub Desktop.

Select an option

Save jhaemin/928ada63fe26c013383a81e5cd0575ee to your computer and use it in GitHub Desktop.
Resolve blocked `ts-node-dev` respawn when using `new PrismaClient()`
process.on('SIGTERM', () => {
process.exit()
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment