app: echo "Use Procfile.static or uncomment this file and help us get Hot Reloading to work again" # Basic procfile for dev work. # Development is faster if you pick one of the other Procfiles if you don't need # the processes to create the test files. Thus, run the `Procfile.hot` one instead # Development rails requires both rails and rails-assets # (and rails-server-assets if server rendering) # rails: HOT_RELOADING=TRUE rails s -b 0.0.0.0 # Run the hot reload server for client development # hot-assets: sh -c 'rm -rf public/webpack/development || true && bundle exec rake react_on_rails:locale && HOT_RAILS_PORT=3500 yarn run hot-assets' # Render static client assets # rails-static-client-assets: sh -c 'yarn run build:dev:client' # Render static client assets. Remove if not server rendering # rails-static-server-assets: sh -c 'yarn run build:dev:server'