我在我的 Grails 应用程序中使用 lesscss-resources 插件。一切都按预期工作。但是当我对 .less 文件进行更改时,我每次都需要重新启动整个应用程序。
有没有办法让 Grails 直接重新编译这些更改?
非常感谢任何帮助。
谢谢,乌尔斯
最佳答案
根据documentation :
Note that the files to be imported are not part of the resources bundle, so any changes will not trigger a rebuild of the resource.
因此,如果您正在修改的文件较少,那么此时您可能不走运。
关于grails - 如何在不重新启动 grails 应用程序的情况下更改 .less 文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14356276/