Sha256: be46814dc85109e70fdce7c9c921ad6a74705b489f681aa48d5bc1de98b0b802

Contents?: true

Size: 869 Bytes

Versions: 1

Compression:

Stored size: 869 Bytes

Contents

web: rails s -p 3000

# Note, hot and live reloading don't work with the default generator setup on
# top of the rails/webpacker Webpack config with server rendering.
# If you have server rendering enabled (prerender is true), you either need to
# a. Skip using the webpack-dev-server. bin/webpack --watch is typically
     fast enough.
# b. See the React on Rails README for a link to documentation for how to setup
#    SSR with HMR and React hot loading
# Otherwise, you will have an error. If you want HMR and Server Rendering, see
# the example in the https://github.com/shakacode/react-webpack-rails-tutorial
web: rails s -p 3000

# Run the hot reload server for client development
webpack-dev-server: bin/webpack-dev-server

# Keep the JS fresh for server rendering. Remove if not server rendering
rails-server-assets: SERVER_BUNDLE_ONLY=yes bin/webpack --watch

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
react_on_rails-12.0.0.pre.beta.1 lib/generators/react_on_rails/templates/base/base/Procfile.dev-hmr