I had this issue when developing a project of Next JS 13 app stable version in VS Code. The longer I run my app in dev mode the longer it takes for save, for intellicode to loads suggestions, also for prettier and eslint to auto format.
Example case:
- I stay and edits many times in one page.tsx file, which means nextjswill compile many times as well.
- As time goes on, the slow loading of saving and formatting comes up.
- The slow loading comes up more clear especially after I move to another file
- In the end I tried to restart VSCode and run dev again.
- At beginning after restart everything goes fine, but as time goes on... back to point number 1.
This is very strange bug because only in this Next JS 13 app project that the lags happen. Meanwhile I also opened other project like React project and Next JS 13 pages project, these projects run just fine.
For now still not yet found the solution, already tried to add .next in tsconfig and disabling extension just as the github community suggested, but lag still occurs.