I'm close to giving up here -- there's roughly 5 different repositories with different versions of handlebars-asset-pipeline with different instructions, and I can't get any of them to work.
I'm using Grails 3.1.1 with the default build.gradle created by init-app, added handlebars-asset-pipeline 2.7 to both the buildscript and normal dependencies, and put a foo.hbs file into grails-app/assets.
Now, when running gradlew compileAssets
, the templates get compiled correctly, so the plugin is doing something, but I was expecting it to also work when running the application via grails run-app
. Is it wrong of me to expect that? If not, can someone be so kind as to give me a working example of how to integrate the template precompiler?