pm2 start npm -- start是否有用于在特定目录中运行的 CLI 标记?我环顾四周,但找不到答案。
pm2 start npm -- start
另一方面,当我在没有npm 的情况下运行 pm2 时,我可以指定要在哪个目录中运行 pm2。例如:
pm2 start /opt/www/myapp/index.js
有什么办法可以在命令中添加路径标签吗pm2 start npm -- start?
ubuntu node.js pm2
node.js ×1
pm2 ×1
ubuntu ×1