You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project is in Typescript so I do transpile the main process files.
It didn't work when I added the try...catch in the main module before transpilation, but I was able to add a simple script like the following and that worked.
I require the main module after transpilation and copy this wrapper script as a static asset for development mode only.
A little node in the README could point users to this workaround.
The text was updated successfully, but these errors were encountered:
feljx
changed the title
Add a note to README indicating that adding electron-reloader avoids problems with transpiling main electron process
Add a note to README indicating that using electron-reloader in a static script avoids problems with transpiling main electron process
Feb 27, 2021
My project is in Typescript so I do transpile the main process files.
It didn't work when I added the try...catch in the main module before transpilation, but I was able to add a simple script like the following and that worked.
I require the main module after transpilation and copy this wrapper script as a static asset for development mode only.
A little node in the README could point users to this workaround.
The text was updated successfully, but these errors were encountered: