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

cuelang.org: hugo fails to recover after an earlier failure processing one of its directives #3109

Open
myitcv opened this issue May 1, 2024 · 0 comments

Comments

@myitcv
Copy link
Member

myitcv commented May 1, 2024

What page were you looking at?

https://cuelang.org/

What version of the site were you looking at?

cue-lang/cuelang.org@bcf703c

What did you do?

  • run _scripts/serve.bash at a known-good site state
  • break hugo with an incorrect directive. e.g. Add {{< info to any page
  • observe the Hugo error page served at http://localhost:1313
  • unbreak the page and observe the preprocessor write the now-correct page into the hugo hierarchy
  • refresh http://localhost:1313
  • observe the Hugo error page still being served

I'm not sure if this is an actual Hugo problem, or if the way we're dropping the "fixed" files into the hugo directory isn't triggering a full re-examination of the (now fixed) error state; or something else.

What did you expect?

Hugo to recover after an earlier failure processing one of its directives.

What did you see instead?

Per above; the Hugo error page still being served after a reload after fixing the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant