gama-platform / gama

Main repository for developing the 2024+ versions of GAMA
https://gama-platform.org
GNU General Public License v3.0
11 stars 4 forks source link

[GS] Gaml files seem to be cached in server mode #194

Open lesquoyb opened 1 month ago

lesquoyb commented 1 month ago

Describe the bug When running gama in headless server, if you play a simulation once, then modify the file and reload it (could be in another client) the modifications are not taken into account. If I kill and re-run gama server everything works well. So my guess is that the file is somehow cached during GS execution and when I try to reload it, it loads the cache instead of the new modified file.

To Reproduce Steps to reproduce the behavior:

  1. Run gama server headless
  2. Load and play a model
  3. Modify the file of that model
  4. Load the modified model and play it
  5. See that the modifications are not present

Expected behavior Modifications should be taken into account without reloading the whole server