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
ATH
ATH17mo ago
Hey fila, i am using a precommit script that runs linter and tsc. You could also decouple deployment through vercel and handle it via your own CI and let those tests run in the CI too.
fila
filaOP17mo ago
thanks!
Want results from more Discord servers?
Add your server