File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ app: echo "Use Procfile.static or uncomment this file and help us get Hot Reload
55
66# Development rails requires both rails and rails-assets
77# (and rails-server-assets if server rendering)
8- # rails: REACT_ON_RAILS_ENV=HOT rails s -b 0.0.0.0
8+ # rails: HOT_RELOADING=TRUE rails s -b 0.0.0.0
99
1010# Run the hot reload server for client development
1111# 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'
Original file line number Diff line number Diff line change 33
44# Development rails requires both rails and rails-assets
55# (and rails-server-assets if server rendering)
6- rails: REACT_ON_RAILS_ENV=HOT rails s -b 0.0.0.0
6+ rails: HOT_RELOADING=TRUE rails s -b 0.0.0.0
77
88# Run the hot reload server for client development
99hot-assets: sh -c 'rm -rf public/webpack/development || true && bundle exec rake react_on_rails:locale && HOT_RAILS_PORT=3500 yarn run hot-assets'
Original file line number Diff line number Diff line change 11# Run Rails without hot reloading (static assets).
2- rails: REACT_ON_RAILS_ENV= rails s -b 0.0.0.0
2+ rails: rails s -b 0.0.0.0
33
44# Build client assets, watching for changes.
55rails-client-assets: rm -rf public/webpack/development || true && bundle exec rake react_on_rails:locale && yarn run build:dev:client
You can’t perform that action at this time.
0 commit comments