summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/mill/eval/PathRef.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/mill/eval/PathRef.scala b/core/src/mill/eval/PathRef.scala
index 0fbc18f8..5bac93b2 100644
--- a/core/src/mill/eval/PathRef.scala
+++ b/core/src/mill/eval/PathRef.scala
@@ -27,6 +27,8 @@ object PathRef{
val digestOut = new DigestOutputStream(DummyOutputStream, digest)
jnio.Files.walkFileTree(
path.toNIO,
+ java.util.EnumSet.of(jnio.FileVisitOption.FOLLOW_LINKS),
+ Integer.MAX_VALUE,
new FileVisitor[jnio.Path] {
def preVisitDirectory(dir: jnio.Path, attrs: BasicFileAttributes) = {
digest.update(dir.toAbsolutePath.toString.getBytes)