neutralinojs / neutralinojs-cli

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

Add configurable timeout #266

Closed noahcoolboy closed 3 months ago

noahcoolboy commented 3 months ago

Some frontend libraries like react take quite a while to spin up their dev server. On some lower-end machines, it may even take more than 10 seconds. To avoid this issue, I have added a new property under config.cli.frontendLibrary.timeout which allows you to specify an amount of miliseconds to wait for the dev server to spin up, thus overriding the default of 10 seconds. This modification does not break compatibility, as it will still use 10 seconds if the option is not specified.