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
Wrap MillBuildRootModule#scriptSourcesPaths in BuildCtx.watchValue (#5954)
This ensures that if you add new `package.mill` files in subfolders,
they get picked up correctly. Previously they may get missed if the
`MillBuildRootModule` does not get re-instantiated (e.g. this happens if
you define a `mill-build/build.mill` meta-build file)
We don't want to just do a `Task.Source(BuildCtx.workspaceRoot)` because
that seems to cause issues, presumably due to trying to hash the entire
project (including `out/` folder) which is slow and expensive
This also lets us clean up some logic in `CodeGen`, replacing
`os.write.over`s with `os.write`s since we can avoid returning duplicate
entries from `walkBuildFiles`
Tested manually
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
0 commit comments