Commit 43dbc772 authored by Pieterjan Vanhoof's avatar Pieterjan Vanhoof Committed by GitHub

Merge pull request #117 from stratisproject/ui

Fix Electron hard resets
parents 3d21edd3 7c7bfefc
...@@ -14,7 +14,9 @@ const args = process.argv.slice(1); ...@@ -14,7 +14,9 @@ const args = process.argv.slice(1);
serve = args.some(val => val === "--serve"); serve = args.some(val => val === "--serve");
if (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 // 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