Reputation: 51
I am working with node.js and heroku and would like to have more than one webprocess running. In the Procfile I have it looking like this:
web: node web.js
web: node differentWeb.js
However when I run it it will only run the last of the two. Is there a way to do this?
Upvotes: 3
Views: 1646
Reputation: 29433
An application on Heroku can only have one process named web
that gets routed HTTP requests. If you need another web process then that would be another application on Heroku.
Upvotes: 5