Closed deemp closed 1 year ago
The new spago wants the --json-errors flag to be passed directly to spago. https://github.com/purescript/spago/blob/c0c5eddf7e5f3f7c2bab47ea73351c0e13dc20f2/spaghetto/bin/src/Flags.purs#L158
spago
--json-errors
So, if using VS Code, add this to settings.json:
VS Code
settings.json
{ "purescript.buildCommand": "spago build --json-errors" }
The new
spago
wants the--json-errors
flag to be passed directly tospago
. https://github.com/purescript/spago/blob/c0c5eddf7e5f3f7c2bab47ea73351c0e13dc20f2/spaghetto/bin/src/Flags.purs#L158So, if using
VS Code
, add this tosettings.json
: