Replies: 2 comments
-
|
This is most likely because So you effectively overriding it, which means the other tasks in all the inherited modules that depend on If your |
Beta Was this translation helpful? Give feedback.
-
|
I updated example little bit to remove unnecessary calls to highlight usage pattern. Anyway, I think while It has much sense technically but from Mill user perspective its very strange behavior because is hard to expect that small change in single module could lead to significant build process changes in unrelated base modules especially because you might not have visibility of that wiring like with 'scalablytyped' case (in that example is no direct relation between 'assembly' and scalablytyped plugin, but it's build process is affected). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Recently we got strange issue with tasks graph invalidation in ScalaJS project which caused build to took more time that is should.
After some digging I was able to reduce this case to minimal reproducible example https://github.com/american-fable/demo-mill-assembly-invalidation-issue (see README.md it has instruction how to reproduce issue).
In short for unknown reason if task has name 'assembly' it causing to invalidate dependent tasks without any changes in those tasks but if different name is used for same task it won't invalidate those as it should be.
(tested on 1.0.6-jvm)
Beta Was this translation helpful? Give feedback.
All reactions