Bug
heroku local fails to parse the Procfile when the process type contains a dash. I noticed that after changing the dashes to underscores instead, it works. This was previously working in v10.17.0 and failed when I updated to v11.1.1.
When deploying on Heroku, I didn't encounter any issues. My workaround for now is to use foreman directly and run foreman start.
Example Procfile
web: bundle exec puma -C config/puma.rb
worker-primary: bundle exec sidekiq --config config/sidekiq.yml
Current Behaviour
I encounter a parse error when running heroku local.
Error Message: Error: line 2 parse error: worker-primary: bundle exec sidekiq --config config/sidekiq.yml
Expected Behaviour
The Procfile is parsed and runs successfully when the process type contains dashes.
Bug
heroku localfails to parse the Procfile when the process type contains a dash. I noticed that after changing the dashes to underscores instead, it works. This was previously working in v10.17.0 and failed when I updated to v11.1.1.When deploying on Heroku, I didn't encounter any issues. My workaround for now is to use
foremandirectly and runforeman start.Example Procfile
Current Behaviour
I encounter a parse error when running
heroku local.Error Message:
Error: line 2 parse error: worker-primary: bundle exec sidekiq --config config/sidekiq.ymlExpected Behaviour
The Procfile is parsed and runs successfully when the process type contains dashes.