Closed 0jg closed 3 years ago
Next.js hot reloading on a development environment creates a new instance of Prisma (and any other database client). See vercel/next.js#7811. This checks the environment of the Next.js app, and spins-up a Prisma instance accordingly.
(Closed as merging into the wrong branch, see new pull request)
Next.js hot reloading on a development environment creates a new instance of Prisma (and any other database client). See vercel/next.js#7811. This checks the environment of the Next.js app, and spins-up a Prisma instance accordingly.