From 173153025378fb182d463b6533ba3f26b5347e88 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 2 Jan 2019 20:25:33 -0500 Subject: [PATCH] fix reload --- src/main/index.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/index.js b/src/main/index.js index 59a9db9..b8fe61e 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -6,13 +6,9 @@ const createWindow = require("./create-window"); const Daemon = require("./daemon"); const IS_DEV = process.env.NODE_ENV === "development"; -console.log("starting?"); - // Auto-reload when we make changes if (IS_DEV) { - require("electron-reload")(__dirname, { - electron: path.join(__dirname, "node_modules", ".bin", "electron") - }); + require("electron-reload")(__dirname); } // This method will be called when Electron has finished