nodemon not working properly

后端 未结 13 1641
我在风中等你
我在风中等你 2021-02-01 05:20

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:48

    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.

提交回复
热议问题