Add auto reload to main part
Hi,
I was looking for an electron-with-react-and-typescript template and yours looks very good. It doesn't support automatic reload for the main part after code changes though, so I created a patch for that. It uses the nodemon-webpack-plugin to automatically restart electron after changes in the main part.
Caveat: I'm new to electron, so I can't rule out unforeseen side effects, but as far as I could tell the patch works as desired.
BR, --Oskari
Oops, I didn't realize there was already an open pull request for the same thing. Should have looked beforehand, but it was such a small change, what were the odds... Anyway, the solutions are similar but not identical, so interesting to compare at least.
@okoskimi I personally find your solution cleaner than mine.