Commit 7c7bfefc authored by dev0tion's avatar dev0tion

Fix Electron hard resets

parent 0c330dc6
......@@ -14,7 +14,9 @@ const args = process.argv.slice(1);
serve = args.some(val => val === "--serve");
if (serve) {
require('electron-reload')(__dirname, {});
require('electron-reload')(__dirname, {
electron: require('${__dirname}/../../node_modules/electron')
});
}
// Keep a global reference of the window object, if you don't, the window will
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment