fix reload
This commit is contained in:
parent
bf2022b099
commit
1731530253
1 changed files with 1 additions and 5 deletions
|
@ -6,13 +6,9 @@ const createWindow = require("./create-window");
|
||||||
const Daemon = require("./daemon");
|
const Daemon = require("./daemon");
|
||||||
const IS_DEV = process.env.NODE_ENV === "development";
|
const IS_DEV = process.env.NODE_ENV === "development";
|
||||||
|
|
||||||
console.log("starting?");
|
|
||||||
|
|
||||||
// Auto-reload when we make changes
|
// Auto-reload when we make changes
|
||||||
if (IS_DEV) {
|
if (IS_DEV) {
|
||||||
require("electron-reload")(__dirname, {
|
require("electron-reload")(__dirname);
|
||||||
electron: path.join(__dirname, "node_modules", ".bin", "electron")
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// This method will be called when Electron has finished
|
// This method will be called when Electron has finished
|
||||||
|
|
Loading…
Reference in a new issue