-
Notifications
You must be signed in to change notification settings - Fork 373
Expand file tree
/
Copy pathProcfile.dev
More file actions
18 lines (18 loc) · 969 Bytes
/
Procfile.dev
File metadata and controls
18 lines (18 loc) · 969 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Procfile for development using HMR
# You can run these commands in separate shells
#
# Note: bin/dev runs precompile tasks (rescript + locale) BEFORE starting these processes.
# This ensures all generated files exist before Rspack starts watching.
#
# ReScript watch mode (no clean - bin/dev already did the clean build)
rescript: yarn res:watch
# redis: redis-server # Run Redis as a system service instead (brew services start redis)
rails: bundle exec thrust bin/rails server -p 3000
# Client Rspack dev server with HMR
wp-client: RAILS_ENV=development NODE_ENV=development bin/shakapacker-dev-server
# Server Rspack watcher for SSR bundle
wp-server: SERVER_BUNDLE_ONLY=yes bin/shakapacker --watch
# RSC Rspack watcher for React Server Components bundle
wp-rsc: RSC_BUNDLE_ONLY=true bin/shakapacker --watch
# React on Rails Pro Node renderer for SSR and RSC payload generation
node-renderer: RENDERER_PASSWORD=devPassword node react-on-rails-pro-node-renderer.js