How to stop app that node.js express 'npm start'

后端 未结 16 2073
名媛妹妹
名媛妹妹 2020-12-07 11:00

You build node.js app with express v4.x then start your app by npm start. My question is how to stop the app? Is there npm stop?

16条回答
  •  甜味超标
    2020-12-07 11:34

    For production environments you should use Forever.js

    It's so util for start and stop node process, you can list apps running too.

    https://github.com/foreverjs/forever

提交回复
热议问题