neutralinojs / neutralinojs-cli

neu cli for Neutralinojs
https://neutralino.js.org/docs/cli/neu-cli
MIT License
91 stars 56 forks source link

Frontend Dev wait for on different port #223

Closed thorin8k closed 8 months ago

thorin8k commented 8 months ago

I've been having problems with developing since the latest changes in the devCommand and frontendDev.

My problem is i'm not running the frontend in the port 3000 and even if i set a customized devUrl the system is trying to use the port 3000.

I've found that in the frontendlib.js file, the wait code is as follows: image

As you see, the port variable is not used correctly.

shalithasuranga commented 8 months ago

Hello @thorin8k, thanks for posting this. If you don't use a frontend library, I think you can get your app working properly if you remove the cli.frontendLibrary section from the configuration :)

Please check and let us know :tada:

thorin8k commented 8 months ago

The way that i made it work was by changing my frontend dev environment to the port 3000.

I think that this is the only solution because the port is hardcoded in the frontendLib of the client.

Anyway, thanks, i've just posted it to let you know for future releases :smile:

shalithasuranga commented 8 months ago

Closing this since it was fixed by #226. Thanks for reporting this :tada: