Skip to content
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

Support "reloaded" workflow better #8

Open
rafd opened this issue Apr 22, 2020 · 0 comments
Open

Support "reloaded" workflow better #8

rafd opened this issue Apr 22, 2020 · 0 comments

Comments

@rafd
Copy link
Owner

rafd commented Apr 22, 2020

Currently, register-events! clears any existing events and replaces with the given ones.

In the case that all events are in a single namespace, this works fine, because every time that namespace is reloaded, all the changes to the events are captured.

But, when event definitions are across several namespaces, you have to (1) reload the changed event namespace, and (2) remember to also reload the namespace with register-events! (annoying).

Potential solutions:

  • don't nuke existing events when calling register-events! (issue: stale events can stick around)
  • other alternative?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant