Open voger opened 4 years ago
Hi, same problem with qx compile --watch
Just a little more details.
It seems that loadJsonAsync (qx.tool.utils.Json.js:138) correctly throw an error when there is a problem (with a try/catch block), however the call to loadJsonAsync are neither in a try/catch block or with a .catch function, for example in my case (compile watch) it is in qx.tool.cli.api.CompilerApi.js:62, i do not know if it is the same place for qx serve i didn't test it.
@johnspackman Can you have a look - you know the code best.
I tried adding a new environment entry in
compile.json
while the qx serve command was running. The file was saved without beeing syntactically correct. I got this exceptionand while the
qx serve
application didn't terminate, it stopped watching for changes and compiling, and doesn't serve any new changes of the code.