You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Beyond development of extensions, is support being added for hot reload of the dashboard based on both adding of extensions and configuration changes? I guess this would look something like this:
Add a new extension to App.jsx & server.js, and/or changes to the config.js file would hot reload the dashboard. I would imagine in this mode, that changes to the jsx or js files would run weback and rerun the server. Changes to the config.js file would not require webpack reloads, but the server would need to watch for changes to the config file. (actually, I am unsure if the config file is change if webpack has to run...)
@robblovell, hot reloading UI is for development purpose only as the code isn't optimized and you've got an extra websocket connection.
However the configuration is reloaded when it changes (yaml) and doesn't require a server restart, the UI receives a notification with the new config.
If you add a new extension, you'll have to restart the server though, but something like nodemon could be used, I implemented this workflow for another project.
Must have
webpack
Nice to have
The text was updated successfully, but these errors were encountered: