Lorenzo Gabriele

Results 70 comments of Lorenzo Gabriele

As an alternative, you can use Mill with Vite as shown in this example: https://github.com/lolgab/scalajs-vite-example

I also have been experiencing some general instability, like this issue that I reported. It also happened to me tha Mill executed a different command than the one I sent...

This touched how `-w` works by the way: https://github.com/com-lihaoyi/mill/pull/1645

The reproduction [here](https://github.com/com-lihaoyi/mill/issues/1711#issuecomment-1022052092) works very well in my setup. You will not see the logs of the processes because the streams are disconnected but they are in the background doing...

This is great! Didn't expect the solution to be so simple! Congrats 👏 Now a test exercising this would be great. For example a Scala 2.13 module that depends on...

@lefou I read the test case and I have the same expectations as you. If module `A` depends on module `B` all dependencies of `A` become transitive dependencies of `B`....

Another possible workaround is to parse the imports you have in the `build_plugins.sc` file from sbt. For example: ```scala // build_plugins.sc import $ivy.`com.goyeau::mill-scalafix::0.2.8` import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version::0.1.2` ``` ```scala // project/plugins.sbt val...

> The proper (read Mill-idiomatic) way is to just have dedicated targets/tasks to compile for Metals. This would mean compiling the code twice which is a waste of resources and...

Correct me if I'm wrong but I think that if you use `-j 0` then `m.semanticDbData()` and `m.compile()` can run in parallel in ```scala T.task { m.compile() // we also...

> Also, would it make sense to expose Scala.js linker API directly instead of the current facade API? This is not possible because we need to support multiple versions of...