[英]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.