diff --git a/main.ts b/main.ts index e57f99e..7a0b741 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({