Skip to content

heroku local fails when process type contains dashes #3653

@ed-wong

Description

@ed-wong

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions