jlitola / play-sass

Sass asset handling for Play Framework 2.0 *DEPRECATED*
MIT License
90 stars 28 forks source link

Recommended settings causes problems with JVM forking #26

Closed mliberty closed 10 years ago

mliberty commented 10 years ago

Adding the following

play.Project.playScalaSettings ++ SassPlugin.sassSettings

to build.sbt causes problems with the test:fork setting in sbt. If you try to set forking to false in build.sbt like so

Keys.fork in (Test,test) := false

or

Keys.fork in Test := false

Test:fork will abide by the setting, but test:fork will not. It will always be true and the JVM will fork on tests. Run show test:fork from the Play console to see.

The fix seems to simply be to add the sass settings without the playScalaSettings. That is just add the following to build.sbt,

SassPlugin.sassSettings
jlitola commented 10 years ago

Instructions for Play 2.2 are now updated. Thanks!