Skip to content

Commit d2f0b2d

Browse files
committed
Restore Procfile.dev-prod-assets - file exists on master
1 parent 90a0b99 commit d2f0b2d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Procfile.dev-prod-assets

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# You can run these commands in separate shells
2+
web: bin/rails s -p 3001
3+
redis: redis-server
4+
5+
# Next line runs a watch process with webpack to compile the changed files.
6+
# When making frequent changes to client side assets, you will prefer building webpack assets
7+
# upon saving rather than when you refresh your browser page.
8+
# Note, if using React on Rails localization you will need to run
9+
# `bundle exec rake react_on_rails:locale` before you run bin/shakapacker
10+
webpack: sh -c 'bundle exec rake react_on_rails:locale && rm -rf public/packs/* || true && bin/shakapacker -w'

0 commit comments

Comments
 (0)