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
{{ message }}
This repository has been archived by the owner on Nov 17, 2017. It is now read-only.
Any changes I make to en.js / it.js or any other localization file aren't picked up until I restart. Anyone know anyway to make the localization hot-loadable?
The text was updated successfully, but these errors were encountered:
I remember I was playing with the idea and I got it working, but it didn't make it into this project. It should be possibile by signing each file (en.js) with module.hot. Need to investigate and re-read the docs a bit ...
Hey @gpbl, I'm having trouble seeing where I can integrate hot loading into globalization. I've only really just started looking at nodejs in general and react even more recently. When you say "signing" each file, I thought maybe adding following was enough:
if(module.hot) {
module.hot.accept();
}
But I suspect that I have to do something on the code that loads these files for it to be accepted and I'm not sure where I start there. Could you provide any pointers?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Any changes I make to en.js / it.js or any other localization file aren't picked up until I restart. Anyone know anyway to make the localization hot-loadable?
The text was updated successfully, but these errors were encountered: