📜  找不到 nodemon 命令 mac - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:32.390000             🧑  作者: Mango

代码示例5
nodemon command not foundWhatever By Mysterious Monkey on May 16 2020
npx nodemon server.js
or add in package.json config:

...
"scripts": {
    "dev": "npx nodemon server.js"
  },
...
then run:

npm run dev