How to get JSON output with "rescript build" #8099
Answered
by
nojaf
dannyfritz
asked this question in
Q&A
-
|
Curious how to get the JSON output for |
Beta Was this translation helpful? Give feedback.
Answered by
nojaf
Dec 22, 2025
Replies: 1 comment 4 replies
-
|
Can you elaborate a bit? What exactly were you doing in earlier versions? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Well, getting JSON output in
rescipt buildis just wish fulfillment.If there is nothing indicating in
rescript build --helpit probably doesn't exists.The best next thing would be to parse the
lib/bs/.compiler.logfile.This is what the LSP server does to construct diagnostics.
Of course, your question also makes me wonder why the LSP is not providing you the same information?