5.3.4 ViewWatcher monitors the XML, but does not update the view. Did I configure it wrong?

ViewWatcher monitors the XML, but does not update the view. Did I configure it wrong?

Start command:

gradle run --hot --debug-jvm --port 9999

Log output:

After the view is modified, the realod view will not be automatically realoded, and it can be updated to xml manually through the restore all in the background.

Did you try this ?

https://docs.axelor.com/adk/5.2/tutorial/step4.html#update-views

The view can be updated normally through “update-views”, but I want the view to be hot reloaded?

I configured it according to this document (Code Hotswap is not configured). Through the log, you can see that the view has been monitored, and after the view is modified, there will be an updating log output, but the xml file is not hotswap

https://docs.axelor.com/adk/5.2/dev-guide/application/develop.html#xml-hotswap

By manually clicking “update-views”, the view update log will be output

@matthias

After I finished configuring Code Hotswap, I found that the view would be updated, but an error occurred in the update view:

Although there is an error, but refreshing the browser, the view can still be reloaded normally. I don’t know what the error is, the environment of win10.

As said in the docs this feature is still experimental I think we’ll have to wait to see it work properly