Electron: Any way to reload native modules without restarting? (i.e. like Ctrl/Cmd+R for app)


I’m developing a pepper plug-in within electron and it would be great to be able to have it refresh when it’s updated by the build system without having to relaunch the electron application.


To my knowledge there isn’t a way to reload native modules, no.


ctrl-R does refresh the page (and F5?)

apparently you can do it programmatically if you had a button to click or something…

var remote = require('remote');