defonce when defining
history instead of
Amazing! Thanks. Should I submit an issue or a pull repo (not sure I know how) for the template?
When your code gets hot-reloaded, the routes namespace is re-evaluated, so with
(def history ...) you create a new history object each time it's re-evaluated. But you don't call
start! then, so
pushy ends up using a new history that hasn't been used in
> Should I submit an issue or a pull repo (not sure I know how) for the template? Sure! I think it makes sense. First an issue and then a PR for that issue.
should be a trivial change if I know where to find the code in the template thing 😄 thanks again1👍