nfroidure / whook

Build strong and efficient REST web services.
https://slides.com/nfroidure/introducing-whook
MIT License
31 stars 7 forks source link

Consider using `tsx` instead of watch #155

Closed nfroidure closed 6 months ago

nfroidure commented 1 year ago

The TypeScript compiler is so slow that it might be best to use nodemon in combination with tsx (uses esbuild) and to type-check only in build/test scripts.

See https://stackoverflow.com/questions/37979489/how-to-watch-and-reload-ts-node-when-typescript-files-change

nfroidure commented 1 year ago

Or swc and stc.

nfroidure commented 6 months ago

tsx is now in use and the watch command is fixed.