When I execute sbt run and refresh, localhost:9000 will show my changes. If i change something else, save my project and hit refresh again localhost:9000 does not show my changes. If i try sbt ~run I can see sbt recompiling every time i change a file and save, however refreshing localhost:9000 does not show any updates. Only if I terminate the sbt process and restart it can I see my changes.
My setup:
Windows 8.1
Play 2.6
sbt 1.0.2
scala 2.12.3
Intellij 2017.2.5
Try updating Play's file watcher by adding this to build.sbt:
libraryDependencies += "com.lightbend.play" %% "play-file-watch" % "1.1.3"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With