You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mill's current cache has cache invalidation which has build file granularity.
If you have two files build.sc and other.sc and build.sc imports other.sc, changes in build.sc don't invalidate caches for targets defined in other.sc.
This works only with .sc since they explicitly state dependencies via import $file imports.
It would be nice to extend this to vanilla Scala files. acyclic can track dependencies between vanilla Scala files. We could use something like it to implement the same support we currently have for *.sc files to *.scala files in the mill-build/src directory.
The text was updated successfully, but these errors were encountered:
Superseded by #2417, which implements fine grained method-level code change invalidation that works the same for .sc files and .scala files alike (and .java files too)
Mill's current cache has cache invalidation which has build file granularity.
If you have two files
build.sc
andother.sc
andbuild.sc
importsother.sc
, changes inbuild.sc
don't invalidate caches for targets defined inother.sc
.This works only with
.sc
since they explicitly state dependencies viaimport $file
imports.It would be nice to extend this to vanilla Scala files.
acyclic can track dependencies between vanilla Scala files. We could use something like it to implement the same support we currently have for
*.sc
files to*.scala
files in themill-build/src
directory.The text was updated successfully, but these errors were encountered: