maximegris / angular-electron

Ultra-fast bootstrapping with Angular and Electron :speedboat:
https://www.maximegris.fr/angular-electron/
MIT License
5.67k stars 1.37k forks source link

Issue to build with node server #809

Closed thibaud57 closed 6 months ago

thibaud57 commented 6 months ago

Hello,

I try to run a node server as api to write into a local json as db. Just small crude operation. Everything works nicely in local or with portable installation but it s node buildding completely with executable when i do the electron build. I suppose because my node run locally port 3000.

Anyone facing this issue ? I read a lot on but I don't know what's the best and modern solution. Or maybe in this projet there is already the possibility of doing that easily ?

Thanks a lot

thibaud57 commented 6 months ago

Edit I want to write in the file directly without the api, but when i add code to main.js it disapear when i compile

thibaud57 commented 6 months ago

my bad i wasn't updating main.ts and now i can use ipc render