BallAerospace / COSMOS

Ball Aerospace COSMOS
https://ballaerospace.github.io/cosmos-website/
Other
360 stars 129 forks source link

Notify / refresh tools on configuration change #1708

Open jmthomas opened 2 years ago

jmthomas commented 2 years ago

COSMOS has a ConfigTopic where configuration changes are posted. For example in target_model:

ConfigTopic.write({ kind: 'created', type: 'target', name: @name, plugin: @plugin }, scope: @scope)

We should notify tools that configuration changes have occurred and potentially refresh. Probably wouldn't want to refresh automatically but maybe in some sort of development / debug mode?