我最近切换到 PlayFramework 2.3。我的应用程序使用由 sbt 插件添加的 CoffeeScript。当我的应用程序运行时(通过“激活器运行”),如果我触摸任何咖啡文件并在浏览器中按 F5,则整个应用程序将重新加载:
[info] Done updating.
--- Running the application from SBT, auto-reloading is enabled) ---
[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
(Server started, use Ctrl+D to stop and go back to the console...)
[info] Compiling 4 Scala sources and 2 Java sources to C:\Users\myuserlogin\Work\myappname\target\scala-2.11\classes...
[info] CoffeeScript compiling on 1 source(s)
[info] play - Application started (Dev)
[info] CoffeeScript compiling on 1 source(s)
--- (RELOAD) ---
[info] play - Application started (Dev)
有没有办法不重新加载整个应用程序,就像在 PlayFramework 2.2 中一样?