cpmodel / FTT_StandAlone

Future Technology Transformation models
GNU General Public License v3.0
10 stars 1 forks source link

Front end responding slowly to code changes #107

Open Femkemilene opened 6 months ago

Femkemilene commented 6 months ago

When you make a change in the code base, it usually takes a while for the front-end to catch up. I can reliably make the front-end update by restarting my computer, but restarting the front-end or clearing my cache with Ctrl + F5 in Firefox (usually?) doesn't lead to updating coming through.

jp-camecon commented 6 months ago

Easiest option is to launch the backend for the frontend in debug mode. This should make the frontend more responsive to changes in the model code.

This is done from command line using python Backend_FTT.py --debug

Generally though closing down and restarting the GUI backend should be enough for model code changes to come through

Femkemilene commented 5 months ago

For me, the front end doesn't open when I add the --debug flag. @AEdwards476 has had the same problem. I'm working on Windows 10 and Firefox (latest version).

Femkemilene commented 2 months ago

I'm no longer having this issue (possibly related to an an update in Python (3.10 -> 3.11, including updates on many packages) or possibly Firefox). @AEdwards476, you also had this issue at some point in the past. Is it resolved for you too?