nwolverson / purescript-language-server

MIT License
185 stars 42 forks source link

New spago args (--json-errors) #206

Open wclr opened 1 month ago

wclr commented 1 month ago

This is just in case. New spago assumes passing --json-errors without --purs-args: spago build --json-errors, currently by default LS uses spago build --purs-args --json-errors build command wich gives an error.

So one can use buildCommand option to override the default build command.

nwolverson commented 1 month ago

Yes, this for sure should become the default eventually, I guess new spago is still officially alpha, not sure what the usage % now splits at. That's assuming it isn't supported in old-spago without --purs-args