Teeco Chang
Teeco Chang
same here.
Consider set "ok" button disabled until the "name" & "url" filed all passed validate.
> Sorry for the late response but the reason is because electron reloader is used to reload the app when changes happen and from the [electron-reloader](https://github.com/sindresorhus/electron-reloader) project's README: > >...
> > Sorry for the late response but the reason is because electron reloader is used to reload the app when changes happen and from the [electron-reloader](https://github.com/sindresorhus/electron-reloader) project's README: >...
we should resolve it by steps: 1. renderer process should: ```JavaScript window['closeWss'] = () => ipcRederer.send('closeEvent'); ``` 2. main process should listen `ipcMain.on(`closeEvent`)` and `WsInstance.disconnect()`; 3. in react state change:...