You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates both the dummy app and generator templates to automatically
run react_on_rails:generate_packs before starting development servers.
Changes:
- spec/dummy/bin/dev: Add pack generation to dummy app dev script
- lib/generators/react_on_rails/bin/dev: Update generator template
- lib/generators/react_on_rails/bin/dev-static: Update static generator template
Benefits:
- Developers no longer need to manually run rake react_on_rails:generate_packs
- Ensures generated packs are always up to date when starting development
- Provides clear feedback about pack generation process
- Fails fast with clear error message if pack generation fails
All bin/dev scripts now automatically:
1. Generate React on Rails packs with detailed feedback
2. Exit with error if pack generation fails
3. Start the development server only after successful pack generation
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments