Grails autocompile不在开发环境中 [英] Grails autocompile not in development environment

查看:142
本文介绍了Grails autocompile不在开发环境中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在称为本地的环境中运行Grails 2.1,因为开发是为分段系统保留的。但是我想要像在开发模式下一样自动编译,即如果我正在更改控制器,那么这些更改将被编译为一个,而不会重新运行run-app。参数grails.gsp.enable.reload = true不起作用。



非常感谢任何提示。提前致谢

Reto

解决方案

p>

  grails local -reloading run-app 


I am running Grails 2.1 in a environment called "local" because "development" is reserved for a staging system. But I want to have to auto compile like in dev mode, i.e. if I am changing a controller the changes are compiled at one without rerunning "run-app". The parameter grails.gsp.enable.reload=true doesn't work.

Any hints are highly appreciated. Thanks in advance

Reto

解决方案

Try starting up with

grails local -reloading run-app

这篇关于Grails autocompile不在开发环境中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆