File tree 3 files changed +3
-3
lines changed 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
5
5
6
6
# Development rails requires both rails and rails-assets
7
7
# (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
9
9
10
10
# Run the hot reload server for client development
11
11
# 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 3
3
4
4
# Development rails requires both rails and rails-assets
5
5
# (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
7
7
8
8
# Run the hot reload server for client development
9
9
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 1
1
# 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
3
3
4
4
# Build client assets, watching for changes.
5
5
rails-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