Skip to content

Commit 56d2a68

Browse files
justin808claude
andcommitted
Keep --early-hints only for production and testing
Removed --early-hints flag from development-only Procfiles. Kept it in: - Procfile (production deployment) - Procfile.dev-prod-assets (local testing with production assets) Early hints are most useful in production and when testing with production-compiled assets. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 0104fb1 commit 56d2a68

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Procfile.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# You can run these commands in separate shells
33
rescript: yarn res:dev
44
redis: redis-server
5-
rails: bundle exec rails s -p 3000 --early-hints
5+
rails: bundle exec rails s -p 3000
66
# Sleep to allow rescript files to compile before starting webpack
77
wp-client: sleep 5 && RAILS_ENV=development NODE_ENV=development bin/shakapacker-dev-server
88
wp-server: sleep 5 && bundle exec rake react_on_rails:locale && HMR=true SERVER_BUNDLE_ONLY=yes bin/shakapacker --watch

Procfile.dev-static

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# You can run these commands in separate shells
2-
web: rails s -p 3000 --early-hints
2+
web: rails s -p 3000
33
redis: redis-server
44

55
# Next line runs a watch process with webpack to compile the changed files.

Procfile.dev-static-assets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# You can run these commands in separate shells
2-
web: bin/rails s -p 3000 --early-hints
2+
web: bin/rails s -p 3000
33
redis: redis-server
44

55
# Next line runs a watch process with webpack to compile the changed files.

0 commit comments

Comments
 (0)