First issue: server/dev.index.js was set to return when stats.hasErrors(), and eslint-loader was throwing errors causing the reload to never fire.
Second issue: babel-preset-react-native has it's own HMR config that's conflicting with the server HMR. We need to specify different a different babel config when running the dev script than when running React Native (dev-i and dev-a)
@davidcurras @zacacollier @doskogerman server HMR is now fixed on master 🎉 Project now contains working server-rendered react for web + React Native with shared redux store and containers.
First issue:
server/dev.index.js
was set to return when stats.hasErrors(), and eslint-loader was throwing errors causing the reload to never fire.Second issue:
babel-preset-react-native
has it's own HMR config that's conflicting with the server HMR. We need to specify different a different babel config when running thedev
script than when running React Native (dev-i
anddev-a
)