deamon
deamon

Reputation: 92367

Compile Play templates on save

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.

Upvotes: 1

Views: 529

Answers (1)

Julien Lafont
Julien Lafont

Reputation: 7877

Simply use the ~run or ~compile command:

In your shell

$ play

In the play console

~run

or directly in the shell

$ play ~run

Upvotes: 4

Related Questions