Next.js Discord

Discord Forum

validator.ts file and rerendering a lot when add/remove route while in dev

Unanswered
aryomuzakki posted this in #help-forum
Open in Discord
hello, while next dev is running, and then i create new api route or app page, my current opened page are compiling and rendering multiple times. and then sometimes vs code will open up .next/dev/types/validator.ts and have unsaved changes.
this also happen when deleting an api route. it reach over a hundred of request.

why is this happen?

1 Reply