WebSocket connection to 'ws://0.0.0.0:3000/ws' failed after call app.relaunch
#3787
Open
3 tasks done
app.relaunch
#3787
Pre-flight checklist
Electron Forge version
7.6.0
Electron version
v33.2.1
Operating system
Windows 10(22H2)
Last known working Electron Forge version
No response
Expected behavior
I want to restart my app when settings changed. After searching the electron docs here, I added the following codes:
The expected behavior is I can restart the app correctly.
Actual behavior
When I invoked
restart
, the app did restart but showed following errors in the browser consoleI did not use WebSocket in my project and the ONLY place I can find ws dependency is in electron-forge
Steps to reproduce
Just call
app.relaunch
andapp.quit
after the appisReady
Additional information
No response
The text was updated successfully, but these errors were encountered: