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?
webpack-dev-serveris already used byElectron-Forge, as indicated in Electron-forge Webpack documentationFor renderer : it refresh for you. For main, as indicated in the documentation, you have to type "rs" in the terminal to "reload" the app.
If you want to access the webpack log server : http://localhost:9000/ (9000 is the default
loggerPortinplugins-webpackconfig)