Skip to content

Generator is not creating command to start hot reloading #277

@hafizio

Description

@hafizio

Previously when I run rails generate react_on_rails:install. I'll have this in my Procfile.dev:

web: rails s
hot: sh -c 'cd client && npm start'
client: sh -c 'rm app/assets/javascripts/generated/* || true && cd client && npm run build:dev:client'

Now when I install again in a fresh application, the hot is missing and I have to add it manually. So running foreman start -f Procfile.dev won't start the server for hot reloading.

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