Matthias Ernst

Results 4 comments of Matthias Ernst

Thanks for the response! I like that the custom reader you propose propagates also deep into subconfigs (wasn't sure whether that would work), so that is a feasible workaround also...

#1872 is a "wonderful" example of the confusion that arises when people try to debug these issues. A better error would really be appreciated!

Alternatively, instead of _assuming_ that test files create certain modules, one could use this (semi-public) requirejs api to _learn_ which modules are defined and issue the respective 'require' calls. https://github.com/requirejs/requirejs/wiki/Internal-API:-onResourceLoad...

Try enabling https://github.com/sbt/zinc/blob/develop/internal/zinc-core/src/main/scala/sbt/internal/inc/IncrementalCommon.scala#L46 in the `compileScala.scalaCompileOptions.forkOptions`.