GEOLYTIX / xyz

An open source javascript framework for spatial data and application interfaces.
MIT License
87 stars 25 forks source link

Workspace Hot Loading 🔥 #1390

Open RobAndrewHurst opened 1 month ago

RobAndrewHurst commented 1 month ago

It would be really useful for local testing if we could programmatically hot swop workspaces on a already running instance. This can go for swopping out clients and also different workspaces to be used along side browser unit tests.

dbauszus-glx commented 1 month ago

This could work by controlling the cache. On a localhost instance we could enable a command to clear the cached workspace. However, I am not seeing in how this is different from reloading the instance which obviously clears the cache.

We could also enable that resources from the file system are never cached and will always be accessed directly from source on execution.

RobAndrewHurst commented 2 weeks ago

We need to revisit this along side the changes on #1440