Don't work hot reload
AwesomeObserver opened this issue · comments
Don't working hot reload via ng run project:build-electron
Current behaviour: when you change any file and save them, app does not reload.
Node.js - latest version
Angular 8
Angular CLI - latest version
Do you change files in the renderer (angular) process or main (node) process?
Have you changed the electron.ts file?
The reloading is done by the electron-reloader module so this line needs to be in there:
try {
require('electron-reloader')(module);
} catch (err) {}
Do you change files in the renderer (angular) process or main (node) process?
Have you changed the electron.ts file?
The reloading is done by the electron-reloader module so this line needs to be in there:
try {
require('electron-reloader')(module);
} catch (err) {}
I change Angular's component file (*component.ts, and styles files).
I don't change electron.ts
file