Skip to content

update ENV variable for react_on_rails 8 #401

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Procfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ app: echo "Use Procfile.static or uncomment this file and help us get Hot Reload

# Development rails requires both rails and rails-assets
# (and rails-server-assets if server rendering)
# rails: REACT_ON_RAILS_ENV=HOT rails s -b 0.0.0.0
# 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'
Expand Down
2 changes: 1 addition & 1 deletion Procfile.hot
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# Development rails requires both rails and rails-assets
# (and rails-server-assets if server rendering)
rails: REACT_ON_RAILS_ENV=HOT rails s -b 0.0.0.0
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'
Expand Down
2 changes: 1 addition & 1 deletion Procfile.static
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Run Rails without hot reloading (static assets).
rails: REACT_ON_RAILS_ENV= rails s -b 0.0.0.0
rails: rails s -b 0.0.0.0

# Build client assets, watching for changes.
rails-client-assets: rm -rf public/webpack/development || true && bundle exec rake react_on_rails:locale && yarn run build:dev:client
Expand Down