From d78203f76029069a25285741171487d3a2f4c361 Mon Sep 17 00:00:00 2001 From: Shal Jain Date: Fri, 23 Mar 2018 11:41:35 -0500 Subject: [PATCH] Including electron to eliminate Electron not found err sg --- main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.ts b/main.ts index e57f99eb6..7a0b7413d 100644 --- a/main.ts +++ b/main.ts @@ -27,7 +27,7 @@ function createWindow() { if (serve) { require('electron-reload')(__dirname, { - }); + electron: require(`${__dirname}/node_modules/electron`)}); win.loadURL('http://localhost:4200'); } else { win.loadURL(url.format({