nodemon使用方法
82字小于1分钟
2025-07-13
安装
npm install -g nodemon常用命令
nodemon index.js运行typescript
监听代码修改并且执行 ts-node 进行运行ts
npm install -g ts-node
nodemon --watch src -e ts --exec ts-node src/index.ts编译typescript
删除 dist 文件夹,并执行编译
rd /s /q dist & tsc82字小于1分钟
2025-07-13
npm install -g nodemonnodemon index.js监听代码修改并且执行 ts-node 进行运行ts
npm install -g ts-node
nodemon --watch src -e ts --exec ts-node src/index.ts删除 dist 文件夹,并执行编译
rd /s /q dist & tsc