Play 2.6 auto-reload does not show changes after the first compilation

When I execute sbt runand update, it localhost:9000will show my changes. If I changed something, save my project and click again, the update localhost:9000does not display my changes. If I try sbt ~run, I can see how sbt recompiles every time I change the file and save, however the update localhost:9000does not show any updates. Only if I end 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

+4
source share

Source: https://habr.com/ru/post/1688474/


All Articles