diff options
Diffstat (limited to 'patches/electron-reload+1.5.0.patch')
-rw-r--r-- | patches/electron-reload+1.5.0.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/electron-reload+1.5.0.patch b/patches/electron-reload+1.5.0.patch new file mode 100644 index 0000000..51f7501 --- /dev/null +++ b/patches/electron-reload+1.5.0.patch @@ -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. |