You should check out my library @hediet/node-reload that brings much more flexible hot reload to typescript node apps!
It can even restart single function calls!
Well, that's one library called ts-node-dev that makes the reload for you, just call it like ts-node and you should be fine.
@Uéslu, thank you for sharing the info. ts-node-dev looks good!
Thanks for the article, but as far as I know this is what's known as cold reload - nodemon would simply shut down and restart your app on every change, causing a loss of state.
oh, you are right. thanks!
will change the title
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.