Build errors in dev server
I'm using T3 app and I love it so far, however there's this one thing that is quite annoying and that is the dev server compiling even when there should be build errors. That includes eslint errors and typeerrors. The dev server compiles successfully even when it really shouldn't (especially when there's type errors), I think all is fine and then I get hit with a runtime error when visiting the affected page.
next build
catches the errors (both eslint and type) successfully. I would like to get the error shown in console and for the app to not compile even during next dev
How could I achieve that?2 Replies