neutralinojs-cli
neutralinojs-cli copied to clipboard
"neu run" command no auto reloading app
When starting the application with the neu run command, the application is deployed, but when making changes to the resources, the interface is not updated automatically. even right clicking and pressing reload the application does not refresh. In addition to the fact that in the terminal it does not reflect any error, on the contrary the messages show that everything is going well.
I'm experiencing this problem as well. I'm running latest version of Neutralino on Linux.
This is my output from neu run
:
neu: INFO Starting process: neutralino-linux_x64 --load-dir-res --path=. --export-auth-info --neu-dev-extension --neu-dev-auto-reload
INFO 2023-01-01 17:44:00,760 Auth info was exported to ./.tmp/auth_info.json api/debug/debug.cpp:17 ben@unknown-host
(WebKitWebProcess:67845): GLib-CRITICAL **: 17:44:00.870: Failed to set scheduler settings: Operation not permitted
(WebKitWebProcess:67846): GLib-CRITICAL **: 17:44:00.874: Failed to set scheduler settings: Operation not permitted
can you please assign me this issue
I think I found out the problem, my PC with Lubuntu 18.04.5 does not have glibc 2.28 and glibc 2.29
And apparently neutralinojs
@Eliezer516 would you mind to extend a bit your finding? Glibc
has to be installed to enable neutralinoJS auto loading?
@Eliezer516 would you mind to extend a bit your finding?
Glibc
has to be installed to enable neutralinoJS auto loading?
It is not necessary to install it, in the latest versions of ubuntu or lubuntu it is already installed by default, but I have an old version of lubuntu, 18.04.5, and in this version it is not installed and cannot be installed
I am interested to work on this issue
Please use any framework supporting hot-reload, like Svelte, or any bundler, it should handle auto-reloading like no problem.
It's not Neutralino who should be responsible for hot-reloading.
In case you are interested, I solved the problem, you just have to add Neutralino.init()
at the end of the main.js file and that's it, the application reloads when making any changes to the code