You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed a repeatable error, not sure the solution, but leaving it here as breadcrumbs.
Steps to repeat:
Define a page with defpage
Refresh that page to load it, make sure it load successfully.
Put a bug in that defpage which causes the compile to fail-- like an unresolvable symbol, a var that doesn't exist, a mismatched parens, anything.
Reload the page in the browser. You'll see the OLD page, with success, and no stacktrace, no errors, no clues as to what went wrong.
I hack around this by running "lein2 check" periodically. But there may be a way to integrate that kind of thing into noir. It looks like noir keeps the compojure routes in an atom. I guess the route for that page is already defined in the atom, and when the compile fails, that original route is still there, it doesn't get replaced. Seems logical. Still not sure what to do about it though.
The text was updated successfully, but these errors were encountered:
I noticed a repeatable error, not sure the solution, but leaving it here as breadcrumbs.
Steps to repeat:
Define a page with defpage
Refresh that page to load it, make sure it load successfully.
Put a bug in that defpage which causes the compile to fail-- like an unresolvable symbol, a var that doesn't exist, a mismatched parens, anything.
Reload the page in the browser. You'll see the OLD page, with success, and no stacktrace, no errors, no clues as to what went wrong.
I hack around this by running "lein2 check" periodically. But there may be a way to integrate that kind of thing into noir. It looks like noir keeps the compojure routes in an atom. I guess the route for that page is already defined in the atom, and when the compile fails, that original route is still there, it doesn't get replaced. Seems logical. Still not sure what to do about it though.
The text was updated successfully, but these errors were encountered: