Option to disable schema checks during Next.js Hot Reload? #12779
Unanswered
marcosrjjunior
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey!
I was wondering if there’s a way to disable the schema checks from running during Next.js hot reload?
I’m not entirely sure what’s happening behind the scenes, but these checks are happening on every change. This adds some noticeable overhead, especially on the project I’m currently working on.
It would be great if the schema diff + types logic could be decoupled from the hot reload process, or at least have an option to disable it during development.
The delay is noticeable even on a blank template.
Is there currently any cmd to manually execute them and an option on withPayload to turn this off?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions