How to watch and reload ts-node when TypeScript files change

后端 未结 11 1517
梦如初夏
梦如初夏 2020-11-30 17:00

I\'m trying to run a dev server with TypeScript and an Angular application without transpiling ts files every time. I found that I can do the running with ts-node

11条回答
  •  独厮守ぢ
    2020-11-30 17:32

    This works for me:

    nodemon src/index.ts
    

    Apparently thanks to since this pull request: https://github.com/remy/nodemon/pull/1552

提交回复
热议问题