常用库
文章目录
系统监控
nodemon
npm i -g nodemon
npm i --save-dev nodemon
Nodemon is a utility that will monitor for any changes in your source and automatically restart your server. Perfect for development. Install it using npm.
Just use nodemon instead of node to run your code, and now your process will automatically restart when your code changes. To install, get node.js, then from your terminal run.
系统进程
execa
https://www.npmjs.com/package/execa
子进程文案。
npm i execa