You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you please show the whole application.js file (or at least the WebpackerReact.setup call and any Webpacker -related lines)?
Also, what is displayed in your console when you load the page, and then when you edit a file?
I followed the HMR instructions on a new rails app, and it doesn't seem to work.
The Instructions don't match the code in the latest rails/webpacker setup.
I have this in my config/webpack/development.js
and in
packs/application.js
changed the following-import WebpackerReact from 'webpacker-react'; +import WebpackerReact from 'webpacker-react/hmr';
Finally, added this
The output of the server ( using
--hot
) is this:There is nothing in the browser console to indicate any error, just when I edit a file the whole page reloads. Any ideas?
The text was updated successfully, but these errors were encountered: