1

I have set up a PlayFramework project with mill (version 0.5.2), as described in this question. The official documentation for mill lists some commands for running the application, but these commands (a) run only in PROD mode, and (b) do not hot reload any changes to the Twirl templates.

I use the following command to start the application

mill -w core.start

When I make changes to index.scala.html, I have to manually reload the browser in order to see the changes.

How can I have hot reloading of a PlayFramework application with mill?

Shafique Jamal
  • 1,550
  • 3
  • 21
  • 45

1 Answers1

1

You can use the following command.

mill -w core.runBackground

References

shuang xie
  • 11
  • 1