-
Notifications
You must be signed in to change notification settings - Fork 384
Update webpack and other JS and make hot reloading work #443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi. I am looking into this. |
@Naaman-Saif any news? |
- relates to shakacode#443
…hakacode#443" This reverts commit 1180f5e.
Couldn't this be fixed by just adding |
@justin808 please let me know if this is the case. I've got a project with everything working I believe, the only thing missing is that the client is not sending the CORS params in order to refresh the assets. It'd be great if I could help with this, however I don't know what I should edit in the react_on_rails library |
@waclock The first step is just to update all the libraries to current. Then use the webpack-dev-server to serve assets. Then we can turn on hot reloading. |
@justin808 I'm working on a custom project based on this project. I've updated all the libraries and the only thing I'm currently missing is the CORS which is not working I believe. Maybe if you could pinpoint to where I should update this on the react_on_rails gem, I can make a PR when I get everything working |
I'll take a look on it to figure out |
I still can't figure out what's the problem when I update actioncable, It's the error window is undefined. |
@justin808 I have looked into this further, but sadly with no luck. I was trying to get
But still no luck. Also tried updating the webpacker.yml configuration, changing the "host" from localhost to 0.0.0.0, as now webpack is not resolving to 0.0.0.0 anymore. But even with all of this, I can't seem to get this to work. For some reason, if I try going to the URL of WDS' app-bundle, it does resolve (i.e. http://localhost:3500/webpack/app-bundle-f7b19250bcf3e6647743.js resolves correctly and returns the JS with a 200 status code), but the info URL (i.e. http://localhost:3500/webpack/info?t=1550167873571) returns I'm very interested in solving this, as my team works way slower without HMR. |
If anybody would like to pair on this a bit, I'm available. Please email me and I'll send you a Slack invite. |
Sure thing, I'll email you. |
I will email you, right now. # 111 |
We should update the JS packages to the latest and get hot reloading working again.
The text was updated successfully, but these errors were encountered: