阿里云开node 一直跑

2018-05-10  本文已影响8人  lazyTai

使用nodejs pm2
install

npm install pm2 -g |

run

pm2 start app.js

stop

pm2 stop  

List all processes:

pm2 list

demo

here is my github demo ,you
https://github.com/lazyTai/demo/tree/master/webpack4

find  build/serve.js //for a server
run it with pm2
npm run dev //for complier your source file by webpack

please start

上一篇 下一篇

猜你喜欢

热点阅读