This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
forked from jitsi/jitsi-meet-electron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev: get electron-reload back to work (jitsi#943)
- Loading branch information
Showing
2 changed files
with
41 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/electron-reload/main.js b/node_modules/electron-reload/main.js | ||
index 688934d..860e071 100644 | ||
--- a/node_modules/electron-reload/main.js | ||
+++ b/node_modules/electron-reload/main.js | ||
@@ -9,7 +9,7 @@ const ignoredPaths = /node_modules|[/\\]\./ | ||
// only effective when the process is restarted (hard reset) | ||
// We assume that electron-reload is required by the main | ||
// file of the electron application | ||
-const mainFile = module.parent.filename | ||
+const mainFile = 'build/main.js' | ||
|
||
/** | ||
* Creates a callback for hard resets. |