简体   繁体   English

当我编辑源代码时,Play Framework 2.0示例应用程序不会更改

[英]Play framework 2.0 sample app doesn't change when I edit source

I'm playing with play framework 2.0. 我正在玩play framework 2.0。 I've copied the 'computer-database' application, run it with 'play run' and viewed it in my browser at http://localhost:9000 . 我已经复制了“计算机数据库”应用程序,并通过“运行”运行它,并在浏览器中的http:// localhost:9000上进行了查看。 I run the evolution and browse the app. 我运行演变并浏览该应用程序。 But when I edit a template and hit reload, nothing changes. 但是,当我编辑模板并点击重新加载时,没有任何变化。 Even stopping play and starting it again makes no difference. 即使停止播放并重新开始播放也没有任何区别。

What am I doing wrong? 我究竟做错了什么? I thought the whole point was that I could edit, refresh and see my changes. 我认为重点是可以编辑,刷新和查看更改。

same issue here, what I typically do is Hit CTRL+D in the SBT console and issue a compile command, followed by a run 同样的问题,我通常要做的是在SBT控制台中按CTRL + D并发出compile命令,然后run

Note that dynamic compilation works fine when you change code. 请注意,更改代码时,动态编译可以正常工作。

This is probably a bug. 这可能是一个错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我将播放框架应用程序部署到了Heroku,但是它不起作用 - I deployed play framework app to Heroku but it doesn't work 在Play Framework WebJars示例应用程序中使用jQuery - Using jQuery in Play Framework WebJars sample app 为什么jvisualvm没有看到我的Play Framework应用程序? - Why doesn't jvisualvm see my Play Framework app? 将master推到heroku Play! Framework 2.0应用 - Pushing master to heroku Play! Framework 2.0 App 播放框架2.0 - 意外异常 - 未找到密钥:来源 - play framework 2.0 - unexpected exception - Key Not Found : Source 我应该使用Play framework 2.0还是去玩1.x. - Should I Use Play framework 2.0 or go for play 1.x 当我在lib目录中包含自定义jar时出错-Play Framework 2.0 - Error when I include custom jars in lib directory - play framework 2.0 将Play Framework 2.0应用程序部署为Windows服务时,如何解决服务器Oops错误? - How do I fix server Oops error when deploying Play Framework 2.0 application as a Windows service? IntelliJ:安装了Play 2.0插件后,Scala代码无法编译 - IntelliJ: Scala code doesn't compile when Play 2.0 plugin is installed 如何部署Play! 框架应用程序独立(没有战争),并且不包括源代码在应用程序文件夹中? - How can I deploy Play! framework application standalone (no war) and not include the source in app folder?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM