Model auto reload does not work

I ORIGAM version 2025.9.0.3999 I was trying to use model auto reload as described in

I added the property “ReloadModelWhenFilesChangesDetected” to appsettings json and _template:


I reloaded the Docker Linux container and verified that the settings is present in the appsettings.json file.
I created and saved a new menu item in my app model.
I reloaded the app in the browser and also opened it in a new window.

I was expecting to see that menu item in my app.

Instead I’ve got the app without my new menu item. In other words - this setting and feature does not work for me, identically as described here - How to enable model auto reload?

To turn the reloading on in docker you should just modify your *.env file. Add this env variable:

ReloadModelWhenFilesChangesDetected=true

This is how you translate appsettings.json content to env file content in general:

This issue is caused by the fact that windows does not send the file system change events to the linux container. The ReloadModelWhenFilesChangesDetected works if you try this with a windows container and it should also work if you try it in a linux conatiner on Mac. But it just does not work if you have a linux container on windows.

It was decided not to fix this after discussion with @washi. It would require a special FileWatcher impementation just for this case.

From my experience with IIS, the model reload works for all changes except those that are connected to the UI. So if you make changes in screens, screen sections, action buttons etc., you need to actually restart the app for the changes to be implemented.

How to use this feature and its limitations is summarized in the appsettings.json documentation in the first section:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.

I have tested with IIS and server version 2025.8 and the reload worked fine. The issue was apparently fixed during the years.