我正在使用 node.js 和 heroku,并且希望运行多个 web 进程。在 Procfile 我有它看起来像这样:
web: node web.js web: node differentWeb.js
但是,当我运行它时,它只会运行两者中的最后一个。有没有办法做到这一点?
heroku node.js
heroku ×1
node.js ×1