Repeated compilation

Hi
I have installed the play 2.7 scala hello world application and when I execute ~compile in the console, the compilation is executed twice. I have been experiencing this issue since play 2.5 and I thought it was solved on version 2.7. How can I solve this problem?
I’m working with sbt 1.2.8 and scala version 2.12.8.
Thank you