The example of using tsc and nodemon to execute typescript code. npm i typescript -g
// 监测修改 tsc xxx.ts -w
// node运行 node xxx.js
// nodemon检测js npm i -g nodemon nodemon xxx.js
The example of using tsc and nodemon to execute typescript code. npm i typescript -g
// 监测修改 tsc xxx.ts -w
// node运行 node xxx.js
// nodemon检测js npm i -g nodemon nodemon xxx.js