New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regeneration of the model via event handler #37

Closed
kamsar opened this Issue Oct 20, 2016 · 2 comments

Comments

Projects
None yet
1 participant
@kamsar
Collaborator

kamsar commented Oct 20, 2016

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.

@kamsar kamsar added the enhancement label Oct 20, 2016

@kamsar

This comment has been minimized.

Show comment
Hide comment
@kamsar

kamsar Nov 18, 2016

Collaborator

Done in dfd6ce3

Collaborator

kamsar commented Nov 18, 2016

Done in dfd6ce3

@kamsar kamsar added the pending-fix label Nov 18, 2016

@kamsar

This comment has been minimized.

Show comment
Hide comment
@kamsar

kamsar Nov 18, 2016

Collaborator

Fixed in 8.2.2

Collaborator

kamsar commented Nov 18, 2016

Fixed in 8.2.2

@kamsar kamsar closed this Nov 18, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment