electronmon
electronmon copied to clipboard
expose reload events via API for retaining SPA state
most sophisticated Electron apps are built in a SPA kind of manner, hence they expose various views just using Client logic.
Often when working on a given view & electronmon reloads the window, that view is lost & one has to manually navigate back to it.
It would be good if the module would expose an API for handling such things, in a manner like:
electronmon.on("reload", ()=>{//custom reload logic})
so one can then insert ones own navigation / routing logic to the last view one worked on.