nodemon not working properly

后端 未结 13 1275
我在风中等你
我在风中等你 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条回答
  •  猫巷女王i
    2021-02-01 05:38

    In my case, I had to install nodemon globally. Use this command to do so..

    npm install -g nodemon
    

    If you're using Linux you may need to prefix the command with the sudo keyword for administration access..

    sudo npm install -g nodemon
    

提交回复
热议问题