nodemon not working properly

后端 未结 13 695
长发绾君心
长发绾君心 2021-02-01 05:18

I am running my nodejs app by npm start

I just installed nodemon by sudo npm install -g nodemon so that i can get my server restarted when i s

13条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-01 05:28

    Use single quotation for multi-value args like `--exec'.

    e.g. I changed "nodemon --exec yarn build-langs" to "nodemon --exec 'yarn build-langs'" and worked.

提交回复
热议问题