We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@AltGr, @erikmd, @yurug
--replace
build
learn-ocaml build serve --replace never recompiles the cmo's
learn-ocaml build serve --replace
learn-ocaml build --repo=demo-repository serve ^C echo '# Update !' >> demo-repository/exercises/demo2/descr.md # …more edits… learn-ocaml build --repo=demo-repository serve --replace
↓
Learnocaml v.0.16.0 running. Updating app at ./www.temp demo2 (no changes) demo (no changes) Learnocaml server v.0.16.0 starting on port 8080
Learnocaml v.0.16.0 running. Updating app at ./www demo (no changes) demo2 [OK] Learnocaml server v.0.16.0 starting on port 8080
No response
GNU/Linux
Debian 11
Firefox
The text was updated successfully, but these errors were encountered:
fix: do exercise recompilation correctly with --replace
fac2bc3
Fixes ocaml-sf#583
Argh, indeed that's pretty annoying. :( After looking into it I can diagnose it as follows:
make
After a quick test, it seems that adding -p (which is POSIX) at https://github.com/ocaml-sf/learn-ocaml/blob/master/src/utils/lwt_utils.ml#L43 (ie replace "-PR" with "-pPR") is enough to solve the issue.
-p
"-PR"
"-pPR"
Sorry, something went wrong.
Thanks a lot @erikmd for seriously doing the testing! :)
fix: Do exercise recompilation correctly with --replace (#584)
fe2a806
Close #583
AltGr
Successfully merging a pull request may close this issue.
Related user(s):
@AltGr, @erikmd, @yurug
Related issue(s) or PR(s):
--replace
option #567Related project scope(s):
build
Bug description:
learn-ocaml build serve --replace
never recompiles the cmo'sTo reproduce:
↓
Expected behavior:
learn-ocaml --version
No response
git describe --long --always --abbrev=40 --tags
No response
What OS do you use?
GNU/Linux
What OS version/distribution do you use?
Debian 11
What browser(s) do you use with learn-ocaml?
Firefox
What browser(s) version did you used to reproduce the issue?
No response
Screenshots (if need be):
No response
Additional context:
No response
The text was updated successfully, but these errors were encountered: