I'm working with Play 2.0.3, configured to work with MySQL. Everything works fine but the problem is very simple : After EVERY change in one of the views(even simple HTML element) it takes huge time to reload the app and test it. I can see in the output that the mysql connection is rebuilt. This is the output :
--- (RELOAD) ---
[info] play - database [default] connected at jdbc:mysql://localhost/test?useUni
code=yes&characterEncoding=UTF-8&connectionCollation=utf8_general_ci
[info] play - Application started (Dev)
Keep in mind this is a very simple app. Just started to build it. It takes like 5-10 seconds to test every simple HTML/view change.
Am I missing something here ? I found that complication time is an issue on Play 2.0, but how can I at least avoid reloading the database connection ?
Thanks, David.