On a Play Framework 2.2 project that is using sbt-buildinfo to create a BuildInfo.scala
file when the project is compiled, how can build.sbt
be con
To remove a particular file from being watched you can do in build.sbt
:
watchSources := watchSources.value.filter { _.getName != "BuildInfo.scala" }
I tried to reproduce basic setup, and for me the BuildInfo.scala file is not watched. You can see the list of watched sources by issuing show watchSources
.