-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By using `webpack-dev-server --config app/assets/webpack.config.js --progress --inline --module-bind --hot` you should now be able to take advantage of hot loading, i.e. you should notice that changing your client_application.cjsx will cause the page to reload. When using React components, they should simply reload without a full page refresh
- Loading branch information
Showing
3 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
web: rails s | ||
webpack: webpack-dev-server --config app/assets/webpack.config.js --progress --inline | ||
webpack: webpack-dev-server --config app/assets/webpack.config.js --progress --inline --module-bind --hot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters