Sublime Forum

Read build results?

#1

I’ve added an automatic “lint” build whenever I save, similar to this gist. But, I only want to see the results if there are errors or warnings.

Is there a way for a plugin to get the output from a build? I’ve tried getting the “output.exec” panel and doing a substr on its View, but it’s always empty. I also tried this in a set_timeout, since I don’t know if builds run async or not. Any ideas where I’m going wrong or a better way to get the build results?

0 Likes