Starting with sbt 1.4.x (see https://github.com/sbt/sbt/pull/5731) it is not possible to use the task logger after the task has been finished. But this is currently how we log outputs from webpack-dev-server.
This PR changes the logger to use the global one for this particular use case. I still be validate this is the recommended approach as there is not much documentation about it.
Fixes https://github.com/scalacenter/scalajs-bundler/issues/389
Starting with sbt 1.4.x (see https://github.com/sbt/sbt/pull/5731) it is not possible to use the task logger after the task has been finished. But this is currently how we log outputs from
webpack-dev-server
.This PR changes the logger to use the global one for this particular use case. I still be validate this is the recommended approach as there is not much documentation about it.
Manually tested with sbt
1.2.8
,1.3.13
and1.4.6
.