I'm using webpack in my electron + reactjs
app.
It was very slow in dev so I did put externals: [nodeExternals()]
and now the speed of dev is OK but electron
does not refresh the page after hot reloading. I mean hot reloading is working but the screen doesn't refresh after it.
This usually happens sometimes. You have to make use of the shake gesture to refresh sometimes.
Also, you can keep the
enable hot reloading
on so that it shows the live reloading when you save the code.To enable live reloading
react-native run-android
to run the app.Note: For some Mac system cmd + m doesn't work, Yan can run
adb shell input keyevent 82
Hope this helps
You're good to go!!