Reputation: 2008
I'm using Grails 3.1.10, angular-template-asset-pipeline 2.2.6, and asset-pipeline-gradle 2.8.2
It's tough for me to share config files as I work behind a firewall but the general issue is mostly similar to this https://github.com/bertramdev/grails-asset-pipeline/issues/336 (discussion started so i'll have to update question as things go)
Everything works fine under 'grails run-app' but when i run 'grails war':
Any help appreciated.
I was required to put assets stuff in my application.groovy development environment for run-app to work, but i'm not sure if application.groovy is used when running 'grails war' .. i'm not a fan of having duplicate asset pipeline configurations. (build.gradle as well as application.groovy for each environment)
Thanks!
Upvotes: 1
Views: 191
Reputation: 2008
After i figured out which config file the configuraitons where coming from (run-app -> application.groovy, grails war -> build.gradle) ... i figured it out.
I got it to work with the following steps...
Important takeaway here is that grails-app/assets/javascripts/templates would not work for me.
Upvotes: 0