neutralinojs / neutralinojs-cli

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

Patch HTML file before starting dev server #271

Closed shunceyb closed 1 week ago

shunceyb commented 1 month ago

The dev server(frontend framework) is ran before the HTML file is patched with the new url of the globals file, resulting in: "Failed to load resource." I'm not sure if I'm breaking anything by re-ordering the function invocation, but it seems to work for me.

shunceyb commented 1 month ago

Before: seems to be using the old address to fetch the "__neutralino_globals.js" file image After: No error image