-
Notifications
You must be signed in to change notification settings - Fork 380
Closed
Description
When trying to run the Procfile.dev it couldn't complain
Error: Cannot find module '/Users/henk/projects/react-webpack-rails-tutorial/server.js'
Looks like foreman 0.78.0 doesn't handle cd's, no idea why.
I got it working by changing the Procfile to this:
web: rails s -p 4000
client: sh -c 'cd client && $(npm bin)/webpack -w --config webpack.rails.config.js'
hot: sh -c 'cd client && node server.js'
Metadata
Metadata
Assignees
Labels
No labels