NOTE: before openning an issue, please consult previous issues (both open and closed).
What is the problem
When I edit the main process in electron/main.ts, the file change is detected and recompiled, but electron-reload hard resets but never reopens the application.
Logs:
[0] Starting the development server...
[0]
[0] Compiled successfully!
[0]
[0] You can now view echo in the browser.
9:49:59 PM - File change detected. Starting incremental compilation...
[1]
[1]
[1] 9:49:59 PM - Found 0 errors. Watching for file changes.
[2] 'C:\Users\Eric' is not recognized as an internal or external command,
[2] operable program or batch file.
[2] wait-on http://localhost:3000 && tsc -p electron && electron . exited with code 0
NOTE: before openning an issue, please consult previous issues (both open and closed).
What is the problem
When I edit the main process in
electron/main.ts
, the file change is detected and recompiled, but electron-reload hard resets but never reopens the application.Logs:
How to reproduce
Source code: https://github.com/ericwang401/echo-soundboard Main process file: https://github.com/ericwang401/echo-soundboard/blob/master/electron/main.ts
npm run electron:dev
Then the file change will be detected and recompiled and then this is when it doesn't relaunch.
Additional information
Windows 10 21H2 Electron 16.0.8