neutralinojs/neutralinojs-cli

Frontend Dev wait for on different port

Closed this issue ยท 3 comments

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.

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 ๐ŸŽ‰

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 ๐Ÿ˜„

Closing this since it was fixed by #226. Thanks for reporting this ๐ŸŽ‰