Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have a custom esbuild configuration which separates typechecking and code generation.

The separate code-generation combined with esbuild means that I can hit “Debug” and my app builds and starts up almost instantly.

The type-checking is done as a commit hook, so if there are any type errors they will be fixed once im done working on whatever small change. Any dependency which doesn’t have valid types probably has bigger issues, but during active development, active-file type-checking is usually enough.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: