#Is there a way to disable closing of DevTool?
2 messages · Page 1 of 1 (latest)
I found a way to detect the devtool close:
mainWindow.webContents.on("devtools-closed", () => {
mainWindow.webContents.openDevTools();
});
But this doesn't re-open the devtool. Why is it so 🤔