I have created an app with electron-forge using npx create-electron-app electron --template=webpack
.
I then did npm install webpack-dev-server
In my webpack.renderer.config.js I started to add a devServer section with proxy
and before
sections, but when I use npm run start
these are ignored.
npm run start runs electron-forge start
and that's where I think the problem is as I do not have direct access to the webpack call so as to get webpack serve ...
What is needed to get the webpack dev-server running with electron?