For development, it would be quite handy to have the option to enable an item:saved event handler that, when a template or field item was saved, queued a regeneration of the Synthesis model.
The queue should be rolling async (e.g. templates tend to fire lots of saves in rapid succession, we need to debounce the event - waiting 1-2 seconds before going is probably a good idea.
Also should have it disabled by default, since it should never go to prod where the model files won't - or shouldn't - exist to get updated.
For development, it would be quite handy to have the option to enable an
item:saved
event handler that, when a template or field item was saved, queued a regeneration of the Synthesis model.The queue should be rolling async (e.g. templates tend to fire lots of saves in rapid succession, we need to debounce the event - waiting 1-2 seconds before going is probably a good idea.
Also should have it disabled by default, since it should never go to prod where the model files won't - or shouldn't - exist to get updated.