Replies: 1 comment 2 replies
-
|
We have two different mechanisms at play here.
Since tasks are cached, a compile task may not need to run at all, so there is also no way to output anything. This is an inherent Mill property and won't change.
Once, the compile task runs, it may still not need to re-compile the full code but only some selected files, which may lead to less reported issues that expected. We already have a mechanism to re-report cached warnings/errors, unless you changed the default for You probably need to provide more details about your project, so we can find out, why you didn't see all remaining warnings. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If I compile a codebase from scratch and get a number of Java/Scala warnings, Mill will output those warnings to the console which is correct.
If I run
mill __.compileagain then I getSUCCESSbut no warnings.To me it looks like I've fixed the warnings - when I haven't. This is especially true if there are many modules and I fixed one module and then it looks like the warnings have been fixed in all modules.
Can Mill replay any warnings from the original successful compile?
How does this work in BSP - do the warnings just disappear from VSCode problems list and then reappear if the code is changed and a proper compile is needed?
Beta Was this translation helpful? Give feedback.
All reactions