How can I tell Play to compile templates immediately after saving the template file? This would be useful to pick up changes of template constructor without leaving Eclipse to hit refresh in the browser.

有帮助吗?

解决方案

Simply use the ~run or ~compile command:

In your shell

$ play

In the play console

~run

or directly in the shell

$ play ~run
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top